RubyFlow The Ruby and Rails community linklog

Dynamic Rails Error Pages

Normally, 404 and 500 error pages are static HTML files that live in the public directory of a Rails application. These are boring, minimally-styled pages that don’t get the same treatment as the rest of the app. This tutorial shows you how to move error pages into your Rails app as dynamic views that benefit from application styles, layouts, and view helpers. Read the tutorial.

Comments

Or you can just use my Gem which does the same thing with just a Gemfile add. :) - https://github.com/eric1234/better_exception_app

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in