Setup booth group mvc

This commit is contained in:
Rishabh Singh 2019-08-18 22:59:15 +05:30
parent e3f175d55a
commit 64cb6ec456
7 changed files with 99 additions and 4 deletions

View file

@ -7,6 +7,7 @@ class Booth < ApplicationRecord
attr_accessor :invite_responsible
belongs_to :conference
belongs_to :booth_group
has_many :booth_requests, dependent: :destroy
has_many :users, through: :booth_requests