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

6 lines
110 B
Ruby

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