Class: DepartmentsPickerInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- DepartmentsPickerInput
- Defined in:
- app/inputs/departments_picker_input.rb
Overview
SimpleForm input wrapper: departments picker.
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
4 5 6 |
# File 'app/inputs/departments_picker_input.rb', line 4 def collection EmployeeRecord..insert(-1, 'Tech 24x7') end |