Class: Formtastic::Inputs::MultipleCategoryInput

Inherits:
CheckBoxesInput
  • Object
show all
Defined in:
lib/engine-rea-admin/inputs.rb

Instance Method Summary collapse

Instance Method Details

#collection_from_categoryObject



17
18
19
# File 'lib/engine-rea-admin/inputs.rb', line 17

def collection_from_category
  @object.class.categories_for(@method)
end

#raw_collectionObject



21
22
23
# File 'lib/engine-rea-admin/inputs.rb', line 21

def raw_collection
  @raw_collection ||= ( collection_from_category || super )
end