method

set_session

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.

set_session(env, sid, session_data)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 246
        def set_session(env, sid, session_data)
          raise '#set_session needs to be implemented and should return ' <<
            'the value to be stored in the cookie (usually the sid)'
        end