Class: Refinery::Stores::Store
- Inherits:
-
Core::BaseModel
- Object
- Core::BaseModel
- Refinery::Stores::Store
- Defined in:
- app/models/refinery/stores/store.rb
Class Method Summary collapse
-
.select_list ⇒ Object
———————————————————————– select_list – returns an html select list suitable for selecting a store ———————————————————————–.
Class Method Details
.select_list ⇒ Object
select_list – returns an html select list suitable for selecting a store
17 18 19 |
# File 'app/models/refinery/stores/store.rb', line 17 def self.select_list() all.map{ |x| [x.name, x.id] } end |