Fix mysql error
This commit is contained in:
parent
b4ad2ea738
commit
6831c000c9
2 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ class User < ActiveRecord::Base
|
|||
has_many :subscriptions, dependent: :destroy
|
||||
has_many :tracks, foreign_key: 'submitter_id'
|
||||
has_many :booth_requests
|
||||
has_many :booth_requests, dependent: :destroy
|
||||
has_many :booths, through: :booth_requests
|
||||
accepts_nested_attributes_for :roles
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue