diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-01 01:32:24 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-01 01:32:24 +0000 |
commit | e03cd53a7ae90e6a6ccacdb4fd4f51d14d96fad0 (patch) | |
tree | ee38717827f2670827d82ef1c1e52f676e104233 | |
parent | fe7995f718098d3979e01af8957c910eb0d5b3e6 (diff) | |
download | rails-e03cd53a7ae90e6a6ccacdb4fd4f51d14d96fad0.tar.gz rails-e03cd53a7ae90e6a6ccacdb4fd4f51d14d96fad0.tar.bz2 rails-e03cd53a7ae90e6a6ccacdb4fd4f51d14d96fad0.zip |
use stringify_keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_controller/cgi_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_process.rb b/actionpack/lib/action_controller/cgi_process.rb index 292877d93b..49c5680f3f 100644 --- a/actionpack/lib/action_controller/cgi_process.rb +++ b/actionpack/lib/action_controller/cgi_process.rb @@ -171,7 +171,7 @@ end_msg end def session_options_with_string_keys - @session_options_with_string_keys ||= DEFAULT_SESSION_OPTIONS.merge(@session_options).inject({}) { |options, (k,v)| options[k.to_s] = v; options } + @session_options_with_string_keys ||= DEFAULT_SESSION_OPTIONS.merge(@session_options).stringify_keys end end |