diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-29 23:29:11 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-29 23:29:11 -0700 |
commit | 7eef11eb657e6efb54dfe782ca2531df93654f83 (patch) | |
tree | a9eb69bf96c57a9c94e4ee77ae47bcd3e99805c0 /actionpack/lib/action_dispatch/test/mock.rb | |
parent | 091965c0fc7384c17cce9e71a80f515b1139d460 (diff) | |
download | rails-7eef11eb657e6efb54dfe782ca2531df93654f83.tar.gz rails-7eef11eb657e6efb54dfe782ca2531df93654f83.tar.bz2 rails-7eef11eb657e6efb54dfe782ca2531df93654f83.zip |
Convert params keys to strings
Diffstat (limited to 'actionpack/lib/action_dispatch/test/mock.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/test/mock.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/test/mock.rb b/actionpack/lib/action_dispatch/test/mock.rb index 4042f9fbc8..68e5b108b4 100644 --- a/actionpack/lib/action_dispatch/test/mock.rb +++ b/actionpack/lib/action_dispatch/test/mock.rb @@ -42,6 +42,7 @@ module ActionDispatch opts[:input] = params end else + params.stringify_keys! params.update(::Rack::Utils.parse_query(uri.query)) uri.query = requestify(params) end |