Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 180 Bytes
class Location < ActiveRecord::Base
def self.list
find(:all)
end
def self.to_select
list.map do |location|
[location.name, location.id]
end
end
end
Something went wrong with that request. Please try again.