Permalink
Browse files

use stringify_keys

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent fe7995f commit e03cd53a7ae90e6a6ccacdb4fd4f51d14d96fad0 @jeremy jeremy committed Jan 1, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/cgi_process.rb
@@ -171,7 +171,7 @@ def stale_session_check!
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

0 comments on commit e03cd53

Please sign in to comment.