add option to pre register to events
This commit is contained in:
parent
8286c8130d
commit
750e31c11a
7 changed files with 28 additions and 2 deletions
|
|
@ -2,13 +2,15 @@ class Event < ActiveRecord::Base
|
|||
include ActiveRecord::Transitions
|
||||
has_paper_trail
|
||||
attr_accessible :title, :subtitle, :abstract, :description, :event_type_id, :people_attributes, :person,
|
||||
:proposal_additional_speakers, :track_id, :video_id, :video_type
|
||||
:proposal_additional_speakers, :track_id, :video_id, :video_type, :require_registration
|
||||
acts_as_commentable
|
||||
|
||||
has_many :event_people, :dependent => :destroy
|
||||
has_many :event_attachments, :dependent => :destroy
|
||||
has_many :people, :through => :event_people
|
||||
belongs_to :event_type
|
||||
|
||||
has_and_belongs_to_many :registrations
|
||||
|
||||
belongs_to :track
|
||||
belongs_to :room
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue