APIdock
/
Ruby on Rails
/
Browse
About
method
uniq
v4.0.2
-
Show latest stable
- Class:
ActiveRecord
::
Associations
::
CollectionAssociation
uniq
()
public
Alias
for
ActiveRecord::Associations::CollectionAssociation#distinct
Related methods
Instance methods
add_to_target
any?
build
concat
count
create
create!
delete
delete_all
destroy
destroy_all
distinct
empty?
find
first
ids_reader
ids_writer
include?
last
length
load_target
many?
null_scope?
reader
replace
reset
scope
select
size
transaction
uniq
writer
Private methods
callback
callbacks_for
concat_records
create_record
create_scope
custom_counter_sql
custom_finder_sql
delete_or_destroy
delete_records
fetch_first_or_last_using_find?
find_by_scan
find_target
first_or_last
include_in_memory?
insert_record
merge_target_lists
remove_records
replace_records