Introduce Booths for admin

This commit is contained in:
nasia 2017-05-17 13:31:27 +03:00
parent f9d8c9715c
commit 4b67be8f38
22 changed files with 534 additions and 1 deletions

View file

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