Module: ActiveRecord::NestedAttributes
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/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.
Methods included from ActiveSupport::Concern
append_features, class_methods, extended, included, prepend_features, prepended
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.
383 384 385 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/nested_attributes.rb', line 383 def _destroy marked_for_destruction? end |