diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/http/parameters.rb
+++ b/actionpack/lib/action_dispatch/http/parameters.rb
@@ -60,7 +60,7 @@ module ActionDispatch
           return params
         end
 
-        params.each do |k, v|
+        params.each_value do |v|
           case v
           when Hash
             encode_params(v)
Change from each to each_value in http/parameters since we don't use key