Method: Reform::Form::ActiveModel::ModelReflections#column_for_attribute

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

#column_for_attribute(name) ⇒ Object

Delegate column for attribute to the model to support simple_form’s attribute type interrogation.



23
24
25
# File 'lib/reform/form/active_model/model_reflections.rb', line 23

def column_for_attribute(name)
  model_for_property(name).column_for_attribute(name)
end