Methods
E
L
S
Instance Public methods
extract_session_id(env)
    # File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 50
50:       def extract_session_id(env)
51:         stale_session_check! { super }
52:       end
load_session(env)
    # File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 46
46:       def load_session(env)
47:         stale_session_check! { super }
48:       end
stale_session_check!()
    # File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 54
54:       def stale_session_check!
55:         yield
56:       rescue ArgumentError => argument_error
57:         if argument_error.message =~ %r{undefined class/module ([\w:]*\w)}
58:           begin
59:             # Note that the regexp does not allow $1 to end with a ':'
60:             $1.constantize
61:           rescue LoadError, NameError => const_error
62:             raise ActionDispatch::Session::SessionRestoreError,
63:               "Session contains objects whose class definition isn't available.\n" +
64:               "Remember to require the classes for all objects kept in the session.\n" +
65:               "(Original exception: #{const_error.message} [#{const_error.class}])\n"
66:           end
67:           retry
68:         else
69:           raise
70:         end
71:       end