method

marked_for_destruction?

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.