method
_destroy
v7.2.3 -
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.