Better Errors (with Binding of Caller)

Public
Adds Better Errors and Binding of Caller Gems
Used 38 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"
Mark
© 2020 GoRails, LLC