diff options
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index d6b8552e6e..203ddd17c7 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -949,6 +949,11 @@ module ActiveRecord # is done. For more information, see the documentation for this option on the different # specific association types. When no option is given, the behaviour is to do nothing # with the associated records when destroying a record. + # + # Note that <tt>:dependent</tt> is implemented using Rails' callback + # system, which works by processing callbacks in order. Therefore, other + # callbacks declared either before or after the <tt>:depenent</tt> option + # can affect what it does. # # === Delete or destroy? # |