Skip to Content


All journal entries tagged with ‘#exceptions’

Related Journal Entries

Don’t reinvent the wheel with Rails exception handling

A good post by Matt Brictson showing the resilient approach for broadly handling exceptions in rails apps using rescue_responses instead of handling cases one-by-one closer to where they happen. And as an added bonus, Rails will correctly render either the static error page or an appropriate JSON response depending on the request.