Method: ActiveEntity::NestedAttributes#_destroy

Defined in:
lib/active_entity/nested_attributes.rb

#_destroyObject

Returns ActiveEntity::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.



380
381
382
# File 'lib/active_entity/nested_attributes.rb', line 380

def _destroy
  marked_for_destruction?
end