Module: Reform::Form::ActiveModel::FormBuilderMethods::ClassMethods

Defined in:
lib/reform/form/active_model.rb

Instance Method Summary collapse

Instance Method Details

#property(name, options = {}) ⇒ Object



10
11
12
13
# File 'lib/reform/form/active_model.rb', line 10

def property(name, options={})
  super
  add_nested_attribute_compat(name) if options[:form] # TODO: fix that in Rails FB#1832 work.
end