Skip to content

Commit

Permalink
Explaining a bit better about the default behaviour of dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Flores committed Jul 29, 2012
1 parent 8bf1088 commit 915b6b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -941,7 +941,8 @@ def association_instance_set(name, association)
# #
# The <tt>:dependent</tt> option can have different values which specify how the deletion # The <tt>:dependent</tt> option can have different values which specify how the deletion
# is done. For more information, see the documentation for this option on the different # is done. For more information, see the documentation for this option on the different
# specific association types. # specific association types. When no option is given, the behaviour is to do nothing
# with the associated records when destroying a record.
# #
# === Delete or destroy? # === Delete or destroy?
# #
Expand Down

0 comments on commit 915b6b3

Please sign in to comment.