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

Comments and Trackbacks

Commenting on this entry has been closed.

... but if you're a dirty spambot, feel free to post a comment here anyways.