From 9affba83f5adc8c7a904ab0a3e4beef3307cd797 Mon Sep 17 00:00:00 2001 From: Tyler Rick Date: Thu, 25 Jul 2013 11:54:24 -0700 Subject: Remove $VERBOSE = nil from tasks.rb Permanently setting $VERBOSE to nil causes unwanted side effects (warnings generated by app code are silenced when triggered by a rake task but visible otherwise). silence_warnings {} would be safer to use here since it resets $VERBOSE back to what it was when the block finishes. --- railties/lib/rails/tasks.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties/lib') diff --git a/railties/lib/rails/tasks.rb b/railties/lib/rails/tasks.rb index 142af2d792..af5f2707b1 100644 --- a/railties/lib/rails/tasks.rb +++ b/railties/lib/rails/tasks.rb @@ -1,5 +1,3 @@ -$VERBOSE = nil - # Load Rails Rakefile extensions %w( annotations -- cgit v1.2.3