diff --git a/app/models/comment.rb b/app/models/comment.rb index f940a5b3c..93944cb7e 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -22,7 +22,7 @@ class Comment < ActiveRecord::Base validate :validate_body_length validate :comment_valuation, if: -> { valuation } - belongs_to :commentable, -> { with_hidden }, polymorphic: true, counter_cache: true + belongs_to :commentable, -> { with_hidden }, polymorphic: true, counter_cache: true, touch: true belongs_to :user, -> { with_hidden } before_save :calculate_confidence_score