Files
osem/app/models/booth_request.rb
2017-07-18 14:18:42 +03:00

10 lines
174 B
Ruby

class BoothRequest < ActiveRecord::Base
belongs_to :booth
belongs_to :user
validates :role,
presence: true
ROLES = %w[submitter responsible].freeze
end