diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-05-19 21:40:12 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-05-19 21:40:12 +0530 |
commit | d71b0935a956ebedea0bb975525fc0f5672e4088 (patch) | |
tree | ea512e13fd13dd144bdbf3469514beb8fba010c6 /activerecord/lib/active_record/associations/collection_proxy.rb | |
parent | d3d8cfd5689188f48714f49ad000a1c1fbd9edcd (diff) | |
parent | 7f24d3d6956a7775771302d143e3b09de681d12f (diff) | |
download | rails-d71b0935a956ebedea0bb975525fc0f5672e4088.tar.gz rails-d71b0935a956ebedea0bb975525fc0f5672e4088.tar.bz2 rails-d71b0935a956ebedea0bb975525fc0f5672e4088.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activerecord/lib/active_record/associations/collection_proxy.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/collection_proxy.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 71b64de5ea..e82c195335 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -422,9 +422,9 @@ module ActiveRecord @association.delete_all end - # Deletes the records of the collection directly from the database. - # This will _always_ remove the records ignoring the +:dependent+ - # option. + # Deletes the records of the collection directly from the database + # ignoring the +:dependent+ option. It invokes +before_remove+, + # +after_remove+ , +before_destroy+ and +after_destroy+ callbacks. # # class Person < ActiveRecord::Base # has_many :pets |