Permalink
Browse files

Fix typo in stale session check [#2404 state:resolved]

  • Loading branch information...
1 parent 5ea8d40 commit 82bc768dad761df466e38ee9f1501aef766878c3 @josh josh committed Apr 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
@@ -74,7 +74,7 @@ def stale_session_check!
# Note that the regexp does not allow $1 to end with a ':'
$1.constantize
rescue LoadError, NameError => const_error
- raise ActionController::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 ActionController::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

0 comments on commit 82bc768

Please sign in to comment.