osem-fcy/app/models/registration.rb
2013-01-07 09:04:09 +01:00

9 lines
No EOL
328 B
Ruby

class Registration < ActiveRecord::Base
belongs_to :person
belongs_to :conference
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
end