Exception Alarm
This gem refactored clone of exception notifier plugin.
Installation
Add this line to your application's Gemfile:
gem 'exception-alarm'
And then execute:
$ bundle
Usage
Add to ApplicationController before filter
class ApplicationController < ActionController::Base
before_filter do
ExceptionAlarm::Mailer.sender = "[email protected]"
ExceptionAlarm::Mailer.prefix = '[ERROR-project-name]'
ExceptionAlarm::Mailer.recipients = %w[[email protected]]
end
# ...
end