Skip to content

Instantly share code, notes, and snippets.

@ashleyvernon
Last active October 23, 2016 23:49
Show Gist options
  • Save ashleyvernon/b67ea3af7884c4e607d633b5691da1af to your computer and use it in GitHub Desktop.
Save ashleyvernon/b67ea3af7884c4e607d633b5691da1af to your computer and use it in GitHub Desktop.

Better Errors Gem Version Build Status Code Climate


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.

Imgur

#Installation


Add this to your Gemfile: ```ruby group :development do gem "better_errors" end ```

There is an optional advanced features (local/instance variable inspection, pretty stack frame names)

gem "binding_of_caller"

Wait Are you getting an error that Better_Errors isn't working? Try adding: config.consider_all_requests_local = true in config/environments/development.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment