Introduces participants relation to conference #416

This commit is contained in:
Chrisbr 2014-08-14 10:46:02 +02:00
parent 6755328c4c
commit c7d47ce6df

View file

@ -41,6 +41,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