method
_destroy
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::NestedAttributes
_destroy()public
Returns ActiveRecord::AutosaveAssociation::marked_for_destruction? It’s used in conjunction with fields_for to build a form element for the destruction of this association.
See ActionView::Helpers::FormHelper::fields_for for more info.