diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-15 16:20:12 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-15 16:20:12 -0600 |
commit | 89082004b0381ec67b4a2782ef4d4f63853e586f (patch) | |
tree | bc3edda31e6b9c95495f884013abb61a8133af67 | |
parent | 6437eb9f351f379d1d32aaabf5d8da9f21d53b0f (diff) | |
download | rails-89082004b0381ec67b4a2782ef4d4f63853e586f.tar.gz rails-89082004b0381ec67b4a2782ef4d4f63853e586f.tar.bz2 rails-89082004b0381ec67b4a2782ef4d4f63853e586f.zip |
Fix const reference for SessionRestoreError
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb index 7d4f0998ce..311880cabc 100644 --- a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb @@ -102,7 +102,7 @@ module ActionDispatch # Note that the regexp does not allow $1 to end with a ':' $1.constantize rescue LoadError, NameError => const_error - raise ActionDispatch::SessionRestoreError, "Session contains objects whose class definition isn't available.\nRemember to require the classes for all objects kept in the session.\n(Original exception: #{const_error.message} [#{const_error.class}])\n" + raise ActionDispatch::Session::SessionRestoreError, "Session contains objects whose class definition isn't available.\nRemember to require the classes for all objects kept in the session.\n(Original exception: #{const_error.message} [#{const_error.class}])\n" end retry |