-
Notifications
You must be signed in to change notification settings - Fork 70
2 Email
0.6.5
introduced email - you can now receive every exception caught by Rails straight to your inbox.
It relies on ActionMailer
- you need a working SMTP server and email to make this work:
#1 ActionMailer
Two options -
- private server (SendGrid)
- hosted server (Gmail)
Both allow you to send emails from your Rails app.
To set this up, you need to add the following to your Rails environment files (/config/application.rb
/ /config/environments/x.rb
):
#2 Config
The way
Exception Handler
is the most popular Rails custom error pages gem.
With over 150,000 installs over the past 3 years, it has quickly become the favorite exception management system for Rails. There is no gem as simple, or better equipped.
Its famous single-click install transforms your Rails exception pages into branded, high quality descriptions of your errors. This not only makes your app look better, but also provides custom error reporting.
Almost all of its extensive features are fully customizable, giving you complete autonomy over how your exception pages are shown. Furthermore, the simple structure gives everyone of all experience the chance to fully customize their exceptions as they want.
You can install ExceptionHandler
today by adding it to your Gemfile. It is fully supported by RubyGems and completely free.