diff options
author | Daniel Schierbeck <daniel.schierbeck@gmail.com> | 2011-08-29 04:15:15 +0300 |
---|---|---|
committer | Daniel Schierbeck <daniel.schierbeck@gmail.com> | 2011-08-29 04:15:15 +0300 |
commit | a720243961ede01263f247842326d9d3e59b6200 (patch) | |
tree | 21e5a619eba1b8ddfb81e6ea2d230fbf011b1dc5 /actionpack/lib/action_dispatch/middleware/session | |
parent | bb4dedbc2cc7b96b95bf4519f56ed9624949a7ef (diff) | |
download | rails-a720243961ede01263f247842326d9d3e59b6200.tar.gz rails-a720243961ede01263f247842326d9d3e59b6200.tar.bz2 rails-a720243961ede01263f247842326d9d3e59b6200.zip |
Split long string into multiple shorter ones
This makes the code more readable.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/session')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | 5 |
1 files changed, 4 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 a70d814749..6bcf099d2c 100644 --- a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb @@ -59,7 +59,10 @@ module ActionDispatch # 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 |