diff options
author | Tyler Rick <tyler@tylerrick.com> | 2013-07-25 11:54:24 -0700 |
---|---|---|
committer | Tyler Rick <tyler@tylerrick.com> | 2013-07-25 11:54:24 -0700 |
commit | 9affba83f5adc8c7a904ab0a3e4beef3307cd797 (patch) | |
tree | 4384ebfc21a3e03fc710c73313a69f6ca14eb196 /railties | |
parent | fb97a7d87b296597892ca5282410d6e875bbc3b5 (diff) | |
download | rails-9affba83f5adc8c7a904ab0a3e4beef3307cd797.tar.gz rails-9affba83f5adc8c7a904ab0a3e4beef3307cd797.tar.bz2 rails-9affba83f5adc8c7a904ab0a3e4beef3307cd797.zip |
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.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/tasks.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |