Minor copy editing
This commit is contained in:
parent
d5c7257e75
commit
402a899033
@ -1114,11 +1114,11 @@ module ClassMethods
|
||||
# similar callbacks may affect the :dependent behavior, and the
|
||||
# :dependent behavior may affect other callbacks.
|
||||
#
|
||||
# * <tt>:destroy</tt> causes all the associated objects to also be destroyed
|
||||
# * <tt>:delete_all</tt> causes all the associated objects to be deleted directly from the database (so callbacks will not execute)
|
||||
# * <tt>:destroy</tt> causes all the associated objects to also be destroyed.
|
||||
# * <tt>:delete_all</tt> causes all the associated objects to be deleted directly from the database (so callbacks will not be executed).
|
||||
# * <tt>:nullify</tt> causes the foreign keys to be set to +NULL+. Callbacks are not executed.
|
||||
# * <tt>:restrict_with_exception</tt> causes an exception to be raised if there are any associated records
|
||||
# * <tt>:restrict_with_error</tt> causes an error to be added to the owner if there are any associated objects
|
||||
# * <tt>:restrict_with_exception</tt> causes an exception to be raised if there are any associated records.
|
||||
# * <tt>:restrict_with_error</tt> causes an error to be added to the owner if there are any associated objects.
|
||||
#
|
||||
# If using with the <tt>:through</tt> option, the association on the join model must be
|
||||
# a +belongs_to+, and the records which get deleted are the join records, rather than
|
||||
|
Loading…
Reference in New Issue
Block a user