Module: ActiveEnum::FormHelpers::SimpleForm::BuilderExtension
- Defined in:
- lib/active_enum/form_helpers/simple_form.rb
Instance Method Summary collapse
Instance Method Details
#find_custom_type(attribute_name) ⇒ Object
8 9 10 11 |
# File 'lib/active_enum/form_helpers/simple_form.rb', line 8 def find_custom_type(attribute_name) return :enum if object.class.active_enum_for(attribute_name) if object.class.respond_to?(:active_enum_for) super end |