Better Errors (with Binding of Caller)

Adds Better Errors and Binding of Caller Gems
Icons/chart bar
Used 122 times
Created by
A Alex Spencer

Usage
Better Errors replaces the standard Rails error page with a much better and more useful error page. It is also usable outside of Rails in any Rack app as Rack middleware.

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/V33s0D"
Template Source

Review the code before running this template on your machine.

gem_group :development do
  gem "better_errors"
  gem "binding_of_caller"
end

run "bundle"
Comments

Sign up or Login to leave a comment.