DEV: Remove stale ignored_columns from models.

This commit is contained in:
Alan Guo Xiang Tan
2022-01-11 10:34:31 +08:00
parent 2dcad9772f
commit 9f5c8644d0
13 changed files with 0 additions and 51 deletions

View File

@ -4,9 +4,6 @@ class UserStat < ActiveRecord::Base
belongs_to :user
after_save :trigger_badges
# TODO(2021-05-13): Remove
self.ignored_columns = ["topic_reply_count"]
def self.ensure_consistency!(last_seen = 1.hour.ago)
reset_bounce_scores
update_distinct_badge_count