Module: Granite::Form::Model::Associations::NestedAttributes::ClassMethods

Defined in:
lib/granite/form/model/associations/nested_attributes.rb

Instance Method Summary collapse

Instance Method Details

#accepts_nested_attributes_for(*attr_names) ⇒ Object



219
220
221
# File 'lib/granite/form/model/associations/nested_attributes.rb', line 219

def accepts_nested_attributes_for(*attr_names)
  NestedAttributesMethods.accepts_nested_attributes_for self, *attr_names
end