Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5569 from arunagw/warning_remove_master

removed warning: shadowing outer local variable - exception
  • Loading branch information...
commit 780ab582091cf06ded9540a5d4fef23086e9bac3 2 parents beb51b4 + ef864c3
@vijaydev vijaydev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/rescuable.rb
View
2  activesupport/lib/active_support/rescuable.rb
@@ -111,7 +111,7 @@ def handler_for_rescue(exception)
if rescuer.arity == 0
Proc.new { instance_exec(&rescuer) }
else
- Proc.new { |exception| instance_exec(exception, &rescuer) }
+ Proc.new { |_exception| instance_exec(_exception, &rescuer) }
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.