Permalink
Browse files

Merge pull request #7635 from arunagw/warning_removed_shadowing_variable

warning removed: shadowing outer local variable - message
  • Loading branch information...
2 parents 40937fe + 948a055 commit 84ba499b1645230dd90f46fa63e5d071ada49f37 @josevalim josevalim committed Sep 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/deprecation/reporting.rb
@@ -35,8 +35,8 @@ def silence
end
def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = caller)
- deprecated_method_warning(deprecated_method_name, message).tap do |message|
- warn(message, caller_backtrace)
+ deprecated_method_warning(deprecated_method_name, message).tap do |msg|
+ warn(msg, caller_backtrace)
end
end

0 comments on commit 84ba499

Please sign in to comment.