StaticErrorPages

Quick'n Dirty static error pages generator for Rails

  • Relies on ApplicationController.renderer to generate 404.html, 500.html, 503.html, 422.html during deploy
  • Adds a rake task bundle exec rails assets:error_pages and adds that to precompile for auto deployment.

This is a Rails Engine, and it provides some German language SLIM templates which should be copied over:

bundle exec rails g static_error_pages:copy

Afterwards, adjust the files in app/views/error_pages/*, especially the layout file and include a minimalistic CSS for the error page.