This commit is contained in:
Rishabh Saxena 2016-08-10 06:18:19 +00:00 committed by GitHub
commit 211410b6f0
33 changed files with 621 additions and 91 deletions

View file

@ -20,6 +20,7 @@ class Conference < ActiveRecord::Base
has_one :program, dependent: :destroy
has_one :venue, dependent: :destroy
has_many :ticket_purchases, dependent: :destroy
has_many :payments, dependent: :destroy
has_many :supporters, through: :ticket_purchases, source: :user
has_many :tickets, dependent: :destroy