agenda-libre-ruby/app/models/region.rb
2014-06-09 12:18:40 +02:00

10 lines
137 B
Ruby

class Region < ActiveRecord::Base
has_many :lugs, foreign_key: :region
default_scope { order :name }
def to_s
name
end
end