
Untitled
By: a guest on
May 1st, 2012 | syntax:
None | size: 0.61 KB | hits: 14 | expires: Never
# [:dependent]
# If set to <tt>:destroy</tt> all the associated objects are destroyed
# alongside this object by calling their +destroy+ method. If set to <tt>:delete_all</tt> all associated
# objects are deleted *without* calling their +destroy+ method. If set to <tt>:nullify</tt> all associated
# objects' foreign keys are set to +NULL+ *without* calling their +save+ callbacks. If set to
# <tt>:restrict</tt> this object cannot be deleted if it has any associated object.
#
# *Warning:* This option is ignored when used with <tt>:through</tt> option.
#