Generate error pages for Rails 3.2