Permalink
Browse files

Merge pull request #2718 from dasch/patch-5

Split long string into multiple shorter ones
  • Loading branch information...
2 parents 47f465d + a720243 commit 7a7a3bcf02976b2dcfb262c781e68da3183d16e8 @vijaydev vijaydev committed Sep 1, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
@@ -59,7 +59,10 @@ def stale_session_check!
# Note that the regexp does not allow $1 to end with a ':'
$1.constantize
rescue LoadError, NameError => const_error
- 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"
+ raise ActionDispatch::Session::SessionRestoreError,
+ "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: #{const_error.message} [#{const_error.class}])\n"
end
retry
else

0 comments on commit 7a7a3bc

Please sign in to comment.