Skip to content

Commit

Permalink
Fix typo in stale session check [#2404 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 26, 2009
1 parent 5ea8d40 commit 82bc768
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit 82bc768

Please sign in to comment.