An actual helpful error message

Journal entry
August 11, 2006

Wow, an exception error message that actually suggests a fix for the error, and the fix is correct. How great is that?

ActionController::RedirectBackError: No HTTP_REFERER was set in the request to this action, so redirect_to :back could not be called successfully. If this is a test, make sure to specify @request.env[“HTTP_REFERER”].

That sure beats “Unspecified error 0x0057867”.

Categories
,
Selling out
Did you know?
Jakob is an independent web application developer who builds awesome stuff for the web. You can hire him to build awesome stuff for you.

Comments and Trackbacks

Commenting on this entry has been closed.