From d6eb54dc80e1c52df05955e5d07b176ef7d3a75e Mon Sep 17 00:00:00 2001 From: PhilipDeFraties Date: Tue, 24 Dec 2024 10:54:09 -0700 Subject: [PATCH] require commontator and acts_as_votable gems in custom comment class --- lib/classes/comment.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/classes/comment.rb b/lib/classes/comment.rb index b9626b4e5..444102424 100644 --- a/lib/classes/comment.rb +++ b/lib/classes/comment.rb @@ -1,3 +1,5 @@ +require "commontator" +require 'acts_as_votable' class Commontator::Comment < ActiveRecord::Base belongs_to :creator, polymorphic: true belongs_to :editor, polymorphic: true, optional: true