ability to track resources used in conference

This commit is contained in:
shlok007 2017-02-06 16:11:22 +05:30
parent 945b4aac60
commit 3065766da9
17 changed files with 281 additions and 2 deletions

View file

@ -24,6 +24,7 @@ class Conference < ActiveRecord::Base
has_many :payments, dependent: :destroy
has_many :supporters, through: :ticket_purchases, source: :user
has_many :tickets, dependent: :destroy
has_many :resources, dependent: :destroy
has_many :lodgings, dependent: :destroy
has_many :registrations, dependent: :destroy