This commit is contained in:
David Heinemeier Hansson
2025-04-12 11:34:56 +02:00
parent 1a9a65fffb
commit d8f9511e08
-1
View File
@@ -5,7 +5,6 @@ class Event < ApplicationRecord
belongs_to :summary, touch: true, class_name: "EventSummary"
belongs_to :card
has_one :account, through: :creator
has_one :message, through: :summary
has_one :comment, through: :message, source: :messageable, source_type: "Comment"