Introduce Booths to OSEM
This commit is contained in:
parent
4d895ae3bc
commit
66ac45efc8
15 changed files with 268 additions and 1 deletions
10
app/models/booth_request.rb
Normal file
10
app/models/booth_request.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class BoothRequest < ActiveRecord::Base
|
||||
belongs_to :booth
|
||||
belongs_to :user
|
||||
|
||||
validates :booth,
|
||||
:user,
|
||||
:role,
|
||||
presence: true
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue