From 9cce8960ea55424e518447e9629eb56b4fce4b1f Mon Sep 17 00:00:00 2001 From: deneuxa Date: Sun, 26 Sep 2010 13:12:16 -0700 Subject: [PATCH] --- README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README b/README index c5f355c1..0497ef08 100644 --- a/README +++ b/README @@ -13,13 +13,23 @@ environment, and also gives a backtrace of the exception. == Usage +INSTALLATION for Rails 3: As of Rails 3 ExceptionNotifier is used as a rack middleware +-in your Gemfile: +gem "exception_notification", "1.0.0 (or later)", :require => "exception_notifier", :git => "git://github.com/sickill/exception_notification.git" + +-in your config/environments/development.rb or production.rb + Whatever::Application.config.middleware.use ExceptionNotifier, :email_prefix => "[Whatever] ", :sender_address => %{"notifier" }, :exception_recipients => %w{exceptions@example.com} +INSTALLATION For rails 2: +look here: +http://github.com/rails/exception_notification/tree/2-3-stable + == Customization By default, the notification email includes four parts: request, session,