mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use stringify_keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
fe7995f718
commit
e03cd53a7a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue