mark_for_destruction()
Instance Public methods
Marks this record to be destroyed as part of the parents save transaction.
This does not actually destroy the record instantly, rather child
record will be destroyed when parent.save
is called.
Only useful if the :autosave
option on the parent is enabled
for this associated model.
Please login to continue.