Exception: ActionDispatch::Session::SessionRestoreError
- Defined in:
- actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize ⇒ SessionRestoreError
constructor
A new instance of SessionRestoreError.
Constructor Details
#initialize ⇒ SessionRestoreError
Returns a new instance of SessionRestoreError.
12 13 14 15 16 17 |
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 12 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: #{$!.} [#{$!.class}])\n") set_backtrace $!.backtrace end |