From 4e3ff3eacc8cec8218afc0b6164048890c1cfe12 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Fri, 14 Aug 2015 23:58:19 +0300 Subject: [PATCH] fixup --- app/models/conference.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/conference.rb b/app/models/conference.rb index 5d773e6..46f8acc 100644 --- a/app/models/conference.rb +++ b/app/models/conference.rb @@ -11,7 +11,7 @@ class Conference < ActiveRecord::Base has_many :tracks has_many :halls has_many :event_types - has_many :events, through: :tracks + has_many :events has_one :call_for_participation, dependent: :destroy has_many :participants, class_name: 'User', through: :events