Skip to content

Commit

Permalink
Merge pull request #9694 from vipulnsward/change_from_each_to_each_va…
Browse files Browse the repository at this point in the history
…lue_in_http_params

Change from each to each_value in http/parameters since we don't use key
  • Loading branch information
carlosantoniodasilva committed Mar 13, 2013
2 parents 14a9a4a + 0c61d97 commit b5493c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/http/parameters.rb
Expand Up @@ -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)
Expand Down

0 comments on commit b5493c8

Please sign in to comment.