Ruby on Rails Discussions
Dedupping Has_many through, :unique=>true
rubyonrails-talk
bitsweat
(Jeremy Daer)
December 19, 2006, 11:20pm
1
Use :uniq => true (note the spelling which matches Ruby’s Array#uniq method) on 1.2 or later.
jeremy
Related topics
Topic
Replies
Views
Activity
has_many with :uniq not working for me
rubyonrails-talk
3
180
December 6, 2006
Dedupping Has_many through, :unique=>true
rubyonrails-talk
0
135
December 19, 2006
has_and_belongs_to_many INSERT duplicate entry
rubyonrails-talk
0
136
May 9, 2007
boolean uniq
rubyonrails-talk
1
135
March 11, 2008
has_many :through equivalent of :uniq option on habtm?
rubyonrails-talk
5
301
September 11, 2006