diff options
author | Xavier Noria <fxn@hashref.com> | 2010-07-10 00:50:59 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-10 00:50:59 +0200 |
commit | 86d5c728fbbce6ba8ae73f8926084f5c0eee9a41 (patch) | |
tree | 25f4f50df3d0b629718f8ba43546dfe50efc312a /activerecord/lib/active_record/associations.rb | |
parent | 44b752bea148b9df8f4d806e410e30fff26f680e (diff) | |
download | rails-86d5c728fbbce6ba8ae73f8926084f5c0eee9a41.tar.gz rails-86d5c728fbbce6ba8ae73f8926084f5c0eee9a41.tar.bz2 rails-86d5c728fbbce6ba8ae73f8926084f5c0eee9a41.zip |
revises recent commit related to :uniq => true
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
-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 11555b88e0..65daa8ffbe 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. Works only in conjunction with <tt>:through</tt>. + # If true, duplicates will be omitted from the collection. Useful in conjunction with <tt>:through</tt>. # [:readonly] # If true, all the associated objects are readonly through the association. # [:validate] |