Class: Formtastic::Inputs::CategoryInput
- Inherits:
-
SelectInput
- Object
- SelectInput
- Formtastic::Inputs::CategoryInput
- Defined in:
- lib/engine-rea-admin/inputs.rb
Instance Method Summary collapse
Instance Method Details
#collection_from_category ⇒ Object
7 8 9 |
# File 'lib/engine-rea-admin/inputs.rb', line 7 def collection_from_category @object.class.categories_for(@method) end |
#raw_collection ⇒ Object
11 12 13 |
# File 'lib/engine-rea-admin/inputs.rb', line 11 def raw_collection @raw_collection ||= ( collection_from_category || super ) end |