Class: Formtastic::Inputs::MultipleCategoryInput
- Inherits:
-
CheckBoxesInput
- Object
- CheckBoxesInput
- Formtastic::Inputs::MultipleCategoryInput
- Defined in:
- lib/engine-rea-admin/inputs.rb
Instance Method Summary collapse
Instance Method Details
#collection_from_category ⇒ Object
17 18 19 |
# File 'lib/engine-rea-admin/inputs.rb', line 17 def collection_from_category @object.class.categories_for(@method) end |
#raw_collection ⇒ Object
21 22 23 |
# File 'lib/engine-rea-admin/inputs.rb', line 21 def raw_collection @raw_collection ||= ( collection_from_category || super ) end |