Adding more registration options, and starting work on supporter levels
This commit is contained in:
parent
61a02d17a3
commit
973913b3bf
25 changed files with 228 additions and 20 deletions
|
|
@ -1,9 +1,14 @@
|
|||
class Registration < ActiveRecord::Base
|
||||
belongs_to :person
|
||||
belongs_to :conference
|
||||
belongs_to :dietary_choice
|
||||
|
||||
has_one :supporter_registration
|
||||
|
||||
attr_accessible :person_id, :conference_id, :attending_social_events, :attending_social_events_with_partner,
|
||||
:using_affiliated_lodging, :arrival, :departure, :person_attributes
|
||||
accepts_nested_attributes_for :person
|
||||
:using_affiliated_lodging, :arrival, :departure, :person_attributes, :other_dietary_choice, :dietary_choice_id,
|
||||
:handicapped_access_required, :supporter_registration_attributes
|
||||
|
||||
accepts_nested_attributes_for :person
|
||||
accepts_nested_attributes_for :supporter_registration
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue