Method: Reform::Form::Composition::ClassMethods#property
- Defined in:
- lib/reform/form/composition.rb
#property(name, options = {}) ⇒ Object
19 20 21 22 23 |
# File 'lib/reform/form/composition.rb', line 19 def property(name, ={}) super.tap do |definition| handle_deprecated_model_accessor([:on]) unless [:skip_accessors] # TODO: remove in 1.2. end end |