Browse files

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.
  • Loading branch information...
TylerRick committed Jul 25, 2013
1 parent fb97a7d commit 9affba83f5adc8c7a904ab0a3e4beef3307cd797
Showing with 0 additions and 2 deletions.
  1. +0 −2 railties/lib/rails/tasks.rb
@@ -1,5 +1,3 @@
-$VERBOSE = nil
# Load Rails Rakefile extensions

0 comments on commit 9affba8

Please sign in to comment.