APIdock
/
Ruby on Rails
/
Browse
About
method
uniq
v4.2.1
-
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?
fifth
find
first
forty_two
fourth
ids_reader
ids_writer
include?
last
length
load_target
many?
null_scope?
reader
replace
replace_on_target
reset
scope
second
select
size
take
third
transaction
uniq
writer
Private methods
_create_record
callback
callbacks_for
concat_records
create_scope
delete_or_destroy
delete_records
fetch_first_nth_or_last_using_find?
find_by_scan
find_target
first_nth_or_last
get_records
include_in_memory?
insert_record
merge_target_lists
remove_records
replace_common_records_in_memory
replace_records