From d463ce4fe7b5f9ccc23322224506b67765af3f72 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 16 Nov 2019 22:13:07 -0600 Subject: In the index task, do not cache `Formatter` results. --- lib/tasks/monsterfork.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tasks') diff --git a/lib/tasks/monsterfork.rake b/lib/tasks/monsterfork.rake index f36cc3915..11c5d86d9 100644 --- a/lib/tasks/monsterfork.rake +++ b/lib/tasks/monsterfork.rake @@ -11,7 +11,7 @@ namespace :monsterfork do ActiveRecord::Base.logger.silence do i += statuses.count statuses.each do |s| - s.update_column(:normalized_text, normalize_status(s)) + s.update_column(:normalized_text, normalize_status(s, cache: false)) end end end -- cgit