Include code of conduct on conference

This commit is contained in:
James Mason 2018-03-16 12:49:00 -07:00 committed by Ana María Martínez Gómez
parent 217ec1a46f
commit 95196c7f80
5 changed files with 47 additions and 1 deletions

View file

@ -11,6 +11,7 @@ class Conference < ApplicationRecord
scope :past, (-> { where('end_date < ?', Date.current) })
belongs_to :organization
delegate :code_of_conduct, to: :organization
has_paper_trail ignore: %i(updated_at guid revision events_per_week), meta: { conference_id: :id }