method

prepare!

rails latest stable - Class: ActionDispatch::Session::AbstractStore

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

prepare!(env)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 177
        def prepare!(env)
          env[ENV_SESSION_KEY] = SessionHash.new(self, env)
          env[ENV_SESSION_OPTIONS_KEY] = OptionsHash.new(self, env, @default_options)
        end