diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-09 16:39:34 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-09 16:39:34 -0400 |
commit | 44b752bea148b9df8f4d806e410e30fff26f680e (patch) | |
tree | 04ba9007499c78edb02ac376ccc78b4ac5cf9b44 /activerecord | |
parent | 2f04c8785540597b02a265324c91267f09ddd07c (diff) | |
download | rails-44b752bea148b9df8f4d806e410e30fff26f680e.tar.gz rails-44b752bea148b9df8f4d806e410e30fff26f680e.tar.bz2 rails-44b752bea148b9df8f4d806e410e30fff26f680e.zip |
expanding on :uniq option in has_many
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 65daa8ffbe..11555b88e0 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -889,7 +889,7 @@ module ActiveRecord # Specifies type of the source association used by <tt>has_many :through</tt> queries where the source # association is a polymorphic +belongs_to+. # [:uniq] - # If true, duplicates will be omitted from the collection. Useful in conjunction with <tt>:through</tt>. + # If true, duplicates will be omitted from the collection. Works only in conjunction with <tt>:through</tt>. # [:readonly] # If true, all the associated objects are readonly through the association. # [:validate] |