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
2019-04-28 21:10:54 +03:00
belongs_to :left, class_name: "Event"
belongs_to :right, class_name: "Event"
2016-10-13 08:59:22 +03:00
has_one :conference, through: :left
end