Flowdock
method

get_session_model

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActiveRecord::SessionStore
get_session_model(env, sid) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/session_store.rb, line 347
      def get_session_model(env, sid)
        if env[ENV_SESSION_OPTIONS_KEY][:id].nil?
          env[SESSION_RECORD_KEY] = find_session(sid)
        else
          env[SESSION_RECORD_KEY] ||= find_session(sid)
        end
      end
Register or log in to add new notes.