Method: ActiveRecord::NestedAttributes#_destroy
- Defined in:
- activerecord/lib/active_record/nested_attributes.rb
#_destroy ⇒ Object
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.
401 402 403 |
# File 'activerecord/lib/active_record/nested_attributes.rb', line 401 def _destroy marked_for_destruction? end |