Module: ActiveFedora::NestedAttributes

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_fedora/nested_attributes.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods Classes: TooManyRecords

Instance Method Summary collapse

Instance Method Details

#_destroyObject

Returns ActiveFedora::Base#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.



155
156
157
# File 'lib/active_fedora/nested_attributes.rb', line 155

def _destroy
  marked_for_destruction?
end