fixes
This commit is contained in:
parent
79ba3c5ea6
commit
7c834347f9
4 changed files with 9 additions and 16 deletions
|
|
@ -4,6 +4,7 @@ class Registration < ActiveRecord::Base
|
|||
belongs_to :dietary_choice
|
||||
|
||||
has_one :supporter_registration
|
||||
has_one :supporter_level, :through => :supporter_registration
|
||||
has_and_belongs_to_many :social_events
|
||||
has_and_belongs_to_many :events
|
||||
|
||||
|
|
@ -20,4 +21,5 @@ class Registration < ActiveRecord::Base
|
|||
alias_attribute :social_events, :attending_social_events
|
||||
alias_attribute :need_access, :handicapped_access_required
|
||||
alias_attribute :other_needs, :other_special_needs
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue