Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #9694 from vipulnsward/change_from_each_to_each_va…

…lue_in_http_params

Change from each to each_value in http/parameters since we don't use key
  • Loading branch information...
commit b5493c83f5c5ab16878827ae0edf25fbf24825e9 2 parents 14a9a4a + 0c61d97
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/http/parameters.rb
View
2  actionpack/lib/action_dispatch/http/parameters.rb
@@ -60,7 +60,7 @@ def encode_params(params)
return params
end
- params.each do |k, v|
+ params.each_value do |v|
case v
when Hash
encode_params(v)
Please sign in to comment.
Something went wrong with that request. Please try again.