osem-fcy/app/models/booth_request.rb

10 lines
174 B
Ruby
Raw Normal View History

2017-05-17 13:31:27 +03:00
class BoothRequest < ActiveRecord::Base
belongs_to :booth
belongs_to :user
validates :role,
presence: true
ROLES = %w[submitter responsible].freeze
end