Module: ActiveRecord::NestedAttributes
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_record/nested_attributes.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods Classes: TooManyRecords
Instance Method Summary collapse
-
#_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.
Instance Method Details
#_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.
302 303 304 |
# File 'lib/active_record/nested_attributes.rb', line 302 def _destroy marked_for_destruction? end |