From 41ef7a7c3e8ec11a86574bfe8ff54016d350eaee Mon Sep 17 00:00:00 2001 From: Vaidehi Joshi Date: Thu, 11 Mar 2021 09:42:32 -0800 Subject: [PATCH] Bump MAX_USER_MENTION_LIVE_AT in comment model (#12972) --- app/models/comment.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 2b5b3fc32..edaaee6ce 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -12,9 +12,9 @@ class Comment < ApplicationRecord COMMENTABLE_TYPES = %w[Article PodcastEpisode].freeze TITLE_DELETED = "[deleted]".freeze TITLE_HIDDEN = "[hidden by post author]".freeze - MAX_USER_MENTIONS = 7 # Explicitly set to 7 to accomodate DEV Top Seven Posts - # The date that we began limiting the nubmer of user mentions in a comment. - MAX_USER_MENTION_LIVE_AT = Time.utc(2021, 3, 11).freeze + MAX_USER_MENTIONS = 7 # Explicitly set to 7 to accommodate DEV Top 7 Posts + # The date that we began limiting the number of user mentions in a comment. + MAX_USER_MENTION_LIVE_AT = Time.utc(2021, 3, 12).freeze belongs_to :commentable, polymorphic: true, optional: true belongs_to :user