aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-08-26 03:09:32 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-08-26 03:09:32 +0000
commit7b34d0f8c503789f00b1d312a0f24a4cd5c063c5 (patch)
treeb6b4a4e9315697705b2e6fc1d1e83bf9901f40ec /actionpack/lib
parenta78519071c261eab54d587b609bf76eecc7420b0 (diff)
downloadrails-7b34d0f8c503789f00b1d312a0f24a4cd5c063c5.tar.gz
rails-7b34d0f8c503789f00b1d312a0f24a4cd5c063c5.tar.bz2
rails-7b34d0f8c503789f00b1d312a0f24a4cd5c063c5.zip
Actually, indifferent access mattered in the bowels (hashes hidden in arrays)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-xactionpack/lib/action_controller/cgi_ext/cgi_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
index 5f4f8d80d5..26adbca13c 100755
--- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
+++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
@@ -207,7 +207,7 @@ class CGIMethods #:nodoc:
if top[-1].is_a?(Hash) && ! top[-1].key?(key)
top[-1][key] = value
else
- top << {key => value}
+ top << {key => value}.with_indifferent_access
push top.last
end
else