Fix progress text.

master
multiple creatures 2019-11-16 21:09:31 -06:00
parent 1132af1515
commit 9ab5a3fca4
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ namespace :monsterfork do
total = Status.count
Status.find_in_batches do |statuses|
ActiveRecord::Base.logger.info("Indexing statuses #{1+i}-#{statuses.count} of #{total}.")
ActiveRecord::Base.logger.info("Indexing status #{1+i} of #{total}.")
i += statuses.count
statuses.each do |s|
ActiveRecord::Base.logger.silence { s.update_column(:normalized_text, normalize_status(s)) }