Exception: ActionDispatch::Session::SessionRestoreError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/action_dispatch/middleware/session/abstract_store.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeSessionRestoreError

Returns a new instance of SessionRestoreError.



10
11
12
13
14
15
# File 'lib/action_dispatch/middleware/session/abstract_store.rb', line 10

def initialize
  super("Session contains objects whose class definition isn't available.\n" \
    "Remember to require the classes for all objects kept in the session.\n" \
    "(Original exception: #{$!.message} [#{$!.class}])\n")
  set_backtrace $!.backtrace
end