method
marked_for_destruction?
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::AutosaveAssociation
marked_for_destruction?()public
Returns whether or not this record will be destroyed as part of the parent’s save transaction.
Only useful if the :autosave option on the parent is enabled for this associated model.