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
boolean uniq
rubyonrails-talk
1
124
March 11, 2008
Dedupping Has_many through, :unique=>true
rubyonrails-talk
0
132
December 19, 2006
Enumerable#uniq?
rubyonrails-core
patch
13
558
March 16, 2011
has_many with :uniq not working for me
rubyonrails-talk
3
177
December 6, 2006
has_many :through equivalent of :uniq option on habtm?
rubyonrails-talk
5
211
September 11, 2006