diff options
| -rw-r--r-- | activerecord/lib/active_record/associations.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 04ad45f5da..462b3066ab 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1181,7 +1181,8 @@ module ActiveRecord        # [collection=objects]        #   Replaces the collections content by deleting and adding objects as appropriate. If the <tt>:through</tt>        #   option is true callbacks in the join models are triggered except destroy callbacks, since deletion is -      #   direct. +      #   direct by default. You can specify <tt>dependent: :destroy</tt> or +      #   <tt>dependent: :nullify</tt> to override this.        # [collection_singular_ids]        #   Returns an array of the associated objects' ids        # [collection_singular_ids=ids] | 
