views:

69

answers:

0

We had some patches for our Database applied the other day. I was not given a heads up, and the application went down.

We are getting nothing but a white

Status: 500 Internal Server Error Content-Type: text/html

500 Internal Server Error

page.

We are using Rails 2.2.2

I want to redirect the user to /500.html

so that they get the error page that looks like our application, but writing the code in application.rb in a before filter, it seems like it is too late.

ActiveRecord has blown up already when trying to create the connection. Not sure where I need to get ahead of it in the request stack.

I have also tried using rescue_from but it does not seem to be getting that far.