HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/activerecord-6.1.4.1/ri/ActiveRecord/QueryMethods/distinct-i.ri
U:RDoc::AnyMethod[iI"
distinct:ETI"(ActiveRecord::QueryMethods#distinct;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"HSpecifies whether the records should be unique or not. For example:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[
I"User.select(:name)
;TI"3# Might return two records with the same name
;TI"
;TI"!User.select(:name).distinct
;TI"*# Returns 1 record per distinct name
;TI"
;TI"1User.select(:name).distinct.distinct(false)
;TI")# You can also remove the uniqueness;T:@format0:
@fileI"0lib/active_record/relation/query_methods.rb;T:0@omit_headings_from_table_of_contents_below000[I"(value = true);T@FI"QueryMethods;TcRDoc::NormalModule00