Skip to content

Commit

Permalink
require commontator gem in subscription and thread classes
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeFraties committed Dec 24, 2024
1 parent d6eb54d commit 97388dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/classes/subscription.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "commontator"
module Commontator
class Subscription < ActiveRecord::Base
belongs_to :subscriber, :polymorphic => true
Expand Down
1 change: 1 addition & 0 deletions lib/classes/thread.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 97388dc

Please sign in to comment.