From 50c9223fda8520beed830dc8c590d055ee975610 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Mon, 4 Nov 2013 09:54:47 -0500 Subject: [PATCH] Small syntax sugar --- lib/tasks/errbit/database.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/errbit/database.rake b/lib/tasks/errbit/database.rake index 1286a30..940a7d1 100644 --- a/lib/tasks/errbit/database.rake +++ b/lib/tasks/errbit/database.rake @@ -6,9 +6,9 @@ namespace :errbit do desc "Updates cached attributes on Problem" task :update_problem_attrs => :environment do puts "Updating problems" - Problem.no_timeout.all.each{|problem| + Problem.no_timeout.all.each do |problem| ProblemUpdaterCache.new(problem).update - } + end end desc "Updates Problem#notices_count" -- libgit2 0.21.2