Permalink
Switch branches/tags
Nothing to show
Find file Copy path
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