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
11 12 13 14 15 |
# File 'lib/reform/form/active_model.rb', line 11 def property(name, ={}) super.tap do |definition| add_nested_attribute_compat(name) if definition[:form] # TODO: fix that in Rails FB#1832 work. end end |