Permalink
Browse files

Change from each to each_value in http/parameters since we don't use key

  • Loading branch information...
1 parent 8881723 commit 0c61d97ac1f18f24243a2534b7c21b34cd295a32 @vipulnsward vipulnsward committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 0c61d97

Please sign in to comment.