From 19732378a20b6fd2028c523e69fc2cada50c37ea Mon Sep 17 00:00:00 2001 From: Yuki Date: Tue, 28 Apr 2015 14:20:56 +0530 Subject: [PATCH] Holy shit I'm stupid --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 174dded1..b3f3c902 100644 --- a/Rakefile +++ b/Rakefile @@ -238,7 +238,7 @@ namespace :justask do end desc "Fixes reports" - task fix_reports: :enviornment do + task fix_reports: :environment do format = '%t (%c/%C) [%b>%i] %e' total = Report.count @@ -249,6 +249,7 @@ namespace :justask do r.deleted = true r.save destroyed += 1 + end progress.increment end @@ -327,6 +328,7 @@ namespace :justask do r.deleted = true r.save destroyed_count[:report] += 1 + end progress.increment end