osem-fcy/app/models/booth_request.rb

12 lines
207 B
Ruby
Raw Normal View History

class BoothRequest < ActiveRecord::Base
belongs_to :booth
belongs_to :user
validates :booth,
:user,
:role,
presence: true
2017-06-18 23:33:54 +03:00
ROLES = %w[submitter responsibles]
end