Permalink
Browse files

Convert params keys to strings

  • Loading branch information...
1 parent 091965c commit 7eef11eb657e6efb54dfe782ca2531df93654f83 @jeremy jeremy committed Apr 30, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/test/mock.rb
@@ -42,6 +42,7 @@ def env_for(path, opts)
opts[:input] = params
end
else
+ params.stringify_keys!
params.update(::Rack::Utils.parse_query(uri.query))
uri.query = requestify(params)
end

0 comments on commit 7eef11e

Please sign in to comment.