"has been deprecated. Please use #to_hash instead.",caller)
"has been deprecated. Please use #to_hash instead.",caller)
to_hash
to_hash
end
end
...
@@ -98,7 +101,7 @@ def stale_session_check!
...
@@ -98,7 +101,7 @@ def stale_session_check!
# Note that the regexp does not allow $1 to end with a ':'
# Note that the regexp does not allow $1 to end with a ':'
$1.constantize
$1.constantize
rescueLoadError,NameError=>const_error
rescueLoadError,NameError=>const_error
raiseActionController::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"
raiseActionDispatch::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"