diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-18 20:25:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-18 20:25:50 +0000 |
commit | e18fad6c438200e147b0574cb30078d6a987a116 (patch) | |
tree | 480de00a39c2f021e72cc6100314c9efb92896e4 /activerecord/lib/active_record/associations.rb | |
parent | 6c67905c1c1acdb88b55fdc074399aecc6835d41 (diff) | |
download | rails-e18fad6c438200e147b0574cb30078d6a987a116.tar.gz rails-e18fad6c438200e147b0574cb30078d6a987a116.tar.bz2 rails-e18fad6c438200e147b0574cb30078d6a987a116.zip |
Update lingering uses of deprecated association dependency options (closes #4169) [coffe2code]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
-rwxr-xr-x | 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 94af33d777..4218174442 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -271,7 +271,7 @@ module ActiveRecord # * <tt>collection=objects</tt> - replaces the collections content by deleting and adding objects as appropriate. # * <tt>collection_singular_ids=ids</tt> - replace the collection by the objects identified by the primary keys in +ids+ # * <tt>collection.clear</tt> - removes every object from the collection. This destroys the associated objects if they - # are <tt>:dependent</tt>, deletes them directly from the database if they are <tt>:exclusively_dependent</tt>, + # are <tt>:dependent</tt>, deletes them directly from the database if they are <tt>:dependent => :delete_all</tt>, # and sets their foreign keys to NULL otherwise. # * <tt>collection.empty?</tt> - returns true if there are no associated objects. # * <tt>collection.size</tt> - returns the number of associated objects. |