Ruby on Rails: how to display an HTTP 500 in XML?
- by randombits
I want to be able to display an HTTP 500 error with an XML builder template if the request Accept type is asking for XML. By default it displays 500.html, even if the request type is not asking for an HTML response.