Commit 50c9223fda8520beed830dc8c590d055ee975610
1 parent
055347e2
Exists in
master
and in
1 other branch
Small syntax sugar
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
lib/tasks/errbit/database.rake
| ... | ... | @@ -6,9 +6,9 @@ namespace :errbit do |
| 6 | 6 | desc "Updates cached attributes on Problem" |
| 7 | 7 | task :update_problem_attrs => :environment do |
| 8 | 8 | puts "Updating problems" |
| 9 | - Problem.no_timeout.all.each{|problem| | |
| 9 | + Problem.no_timeout.all.each do |problem| | |
| 10 | 10 | ProblemUpdaterCache.new(problem).update |
| 11 | - } | |
| 11 | + end | |
| 12 | 12 | end |
| 13 | 13 | |
| 14 | 14 | desc "Updates Problem#notices_count" | ... | ... |