Merge pull request #448 from ChrisBr/introduce_participants_relation

Introduces participants relation to conference #416
This commit is contained in:
Christian Bruckmayer 2014-08-15 12:58:10 +02:00
commit 70e3d0af35

View file

@ -42,6 +42,7 @@ class Conference < ActiveRecord::Base
has_many :difficulty_levels, dependent: :destroy
has_many :rooms, dependent: :destroy
has_many :registrations, dependent: :destroy
has_many :participants, through: :registrations, source: :user
has_many :vdays, dependent: :destroy
has_many :vpositions, dependent: :destroy
has_many :sponsorship_levels, dependent: :destroy