Module: Reform::Form::ModelReflections::ClassMethods
- Defined in:
- lib/reform/form/model_reflections.rb
Instance Method Summary collapse
-
#reflect_on_association(*args) ⇒ Object
Delegate reflect_on_association to the model class to support simple_form’s association input.
Instance Method Details
#reflect_on_association(*args) ⇒ Object
Delegate reflect_on_association to the model class to support simple_form’s association input.
15 16 17 |
# File 'lib/reform/form/model_reflections.rb', line 15 def reflect_on_association(*args) model_name.to_s.constantize.reflect_on_association(*args) end |