Commit 5ddece709dca985340c32fb374abe5e6cc5d887b

Authored by Cyril Mougel
1 parent bb3f1a04
Exists in master and in 1 other branch production

Pass problem when you UpdateProblemCache by rake task

Fix #518
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/errbit/database.rake
... ... @@ -7,7 +7,7 @@ namespace :errbit do
7 7 task :update_problem_attrs => :environment do
8 8 puts "Updating problems"
9 9 Problem.all.each{|problem|
10   - ProblemUpdaterCache.new(self).update
  10 + ProblemUpdaterCache.new(problem).update
11 11 }
12 12 end
13 13  
... ...