diff --git a/app/models/forum_post.rb b/app/models/forum_post.rb index c18f5a912..8fe26fe4a 100644 --- a/app/models/forum_post.rb +++ b/app/models/forum_post.rb @@ -133,7 +133,7 @@ class ForumPost < ApplicationRecord def votable? # shortcut to eliminate posts that are probably not tag change requests - body.match(/->/) && (bulk_update_request.present? || tag_relationship.present?) && created_at >= TagRelationship::EXPIRY.days.ago + body =~ /->/ && (bulk_update_request.present? || tag_relationship.present?) && created_at >= TagRelationship::EXPIRY.days.ago end def voted?(user, score)