The event is not required for the existence of a slot
This commit is contained in:
parent
c073cf56ca
commit
e6b16ed1ae
|
@ -1,4 +1,4 @@
|
||||||
class Slot < ActiveRecord::Base
|
class Slot < ActiveRecord::Base
|
||||||
belongs_to :hall
|
belongs_to :hall
|
||||||
belongs_to :event
|
belongs_to :event, required: false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue