From 97388dcc220481cb81e5b7e84455280e5ba99924 Mon Sep 17 00:00:00 2001 From: PhilipDeFraties Date: Tue, 24 Dec 2024 10:54:28 -0700 Subject: [PATCH] require commontator gem in subscription and thread classes --- lib/classes/subscription.rb | 1 + lib/classes/thread.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/classes/subscription.rb b/lib/classes/subscription.rb index 9860e5a08..7994bfe48 100644 --- a/lib/classes/subscription.rb +++ b/lib/classes/subscription.rb @@ -1,3 +1,4 @@ +require "commontator" module Commontator class Subscription < ActiveRecord::Base belongs_to :subscriber, :polymorphic => true diff --git a/lib/classes/thread.rb b/lib/classes/thread.rb index a3eb38fdb..93f0f657a 100644 --- a/lib/classes/thread.rb +++ b/lib/classes/thread.rb @@ -1,3 +1,4 @@ +require "commontator" class Commontator::Thread < ActiveRecord::Base belongs_to :closer, polymorphic: true, optional: true belongs_to :commontable, polymorphic: true, optional: true, inverse_of: :commontator_thread