New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning removed: shadowing outer local variable - value #7919

merged 1 commit into from Oct 12, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings


Just for now

warning removed: shadowing outer local variable - value

  • Loading branch information...
arunagw committed Oct 12, 2012
commit 11f01bee6574fe2580b408fc067fd564fd846af3
@@ -200,8 +200,8 @@ def permit(*filters)
case filter
when Symbol, String then
if has_key?(filter)
value = self[filter]
params[filter] = value unless Hash === value
_value = self[filter]
params[filter] = _value unless Hash === _value
keys.grep(/\A#{Regexp.escape(filter)}\(\di\)\z/) { |key| params[key] = self[key] }
when Hash then
ProTip! Use n and p to navigate between commits in a pull request.