Call super here to allow SessionHash initialize new stuff for us

This commit is contained in:
Santiago Pastorino
2011-06-19 21:59:45 -03:00
parent 93b7da478b
commit 4131fd7c79

View File

@@ -210,7 +210,7 @@ module ActionController
DEFAULT_OPTIONS = Rack::Session::Abstract::ID::DEFAULT_OPTIONS
def initialize(session = {})
@env, @by = nil, nil
super(nil, nil)
replace(session.stringify_keys)
@loaded = true
end