agenda-libre-ruby/app/models/region.rb

6 lines
110 B
Ruby
Raw Normal View History

2013-12-03 21:56:20 +01:00
class Region < ActiveRecord::Base
2013-12-29 23:25:38 +01:00
has_many :lugs, foreign_key: :region
2014-01-02 00:21:49 +01:00
default_scope { order :name }
2013-12-03 21:56:20 +01:00
end