clarion/app/models/conflict_count.rb

6 lines
164 B
Ruby
Raw Normal View History

2016-10-13 08:59:22 +03:00
class ConflictCount < ActiveRecord::Base
belongs_to :left, class_name: 'Event'
belongs_to :right, class_name: 'Event'
has_one :conference, through: :left
end