attended field as true in new registrations created by admin

This commit is contained in:
differentreality 2013-07-12 10:24:51 +03:00
parent 949cbd6a6c
commit 5437cd5226
2 changed files with 4 additions and 4 deletions

View file

@ -10,9 +10,9 @@ class Registration < ActiveRecord::Base
attr_accessible :person_id, :conference_id, :attending_social_events, :attending_with_partner,
:using_affiliated_lodging, :arrival, :departure, :person_attributes, :other_dietary_choice, :dietary_choice_id,
:handicapped_access_required, :supporter_registration_attributes, :social_event_ids, :other_special_needs,
:event_ids
:event_ids, :attended
accepts_nested_attributes_for :person
accepts_nested_attributes_for :supporter_registration
accepts_nested_attributes_for :social_events
end
end