xp78fa
Last Updated: January 21, 2017
·
67
· richpeck
1104431

Custom 400/500 Error Pages Ruby on Rails (Exception Handler gem)

If you want to show custom error pages in Ruby on Rails, you need to change config.exceptions_app:

exceptions_app.jpg

This can be done in the config/application.rb file:

# config/application.rb
config.exceptions_app = self.routes