Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 82bc768dad761df466e38ee9f1501aef766878c3 1 parent 5ea8d40
Joshua Peek josh authored
2  actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.