drop dietary choices, social events, and html_export_path
This commit is contained in:
parent
1fdd029a86
commit
b9e10922ee
13 changed files with 315 additions and 39 deletions
|
|
@ -1,9 +1,7 @@
|
|||
class Registration < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
belongs_to :conference
|
||||
belongs_to :dietary_choice
|
||||
|
||||
has_and_belongs_to_many :social_events
|
||||
has_and_belongs_to_many :events
|
||||
has_and_belongs_to_many :qanswers
|
||||
has_and_belongs_to_many :vchoices
|
||||
|
|
@ -12,7 +10,6 @@ class Registration < ActiveRecord::Base
|
|||
has_many :workshops, through: :events_registrations, source: :event
|
||||
|
||||
accepts_nested_attributes_for :user
|
||||
accepts_nested_attributes_for :social_events
|
||||
accepts_nested_attributes_for :qanswers
|
||||
|
||||
delegate :name, to: :user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue