clarion/app/models/hall.rb
2014-10-15 13:32:58 +03:00

7 lines
135 B
Ruby

class Hall < ActiveRecord::Base
belongs_to :conference
has_many :slots, dependent: :destroy
validates :name, presence: true
end