Login
From:
mattbrictson.com
(Uncensored)
subscribe
Don’t reinvent the wheel with Rails exception handling
https://mattbrictson.com/blog/handling-rails-exceptions
links
backlinks
Roast topics
Find topics
Find it!
With the built-in rescue_responses setting, you can map exceptions to error pages in a simple, declarative way. It automatically renders JSON, too!