Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated README, fixed JS rescue template missed HT reference.
- Loading branch information
Jonathan Siegel
authored and
Jonathan Siegel
committed
Nov 2, 2011
1 parent
3ff689e
commit 81cd20a
Showing
3 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,25 +1,25 @@ | |||
=== Configuration | === Configuration | ||
|
|
||
You should have something like this in config/initializers/hoptoad.rb. | You should have something like this in config/initializers/airbrake.rb. | ||
|
|
||
HoptoadNotifier.configure do |config| | Airbrake.configure do |config| | ||
config.api_key = '1234567890abcdef' | config.api_key = '1234567890abcdef' | ||
end | end | ||
|
|
||
(Please note that this configuration should be in a global configuration, and | (Please note that this configuration should be in a global configuration, and | ||
is *not* environment-specific. Hoptoad is smart enough to know what errors are | is *not* environment-specific. Airbrake is smart enough to know what errors are | ||
caused by what environments, so your staging errors don't get mixed in with | caused by what environments, so your staging errors don't get mixed in with | ||
your production errors.) | your production errors.) | ||
|
|
||
You can test that Hoptoad is working in your production environment by using | You can test that Airbrake is working in your production environment by using | ||
this rake task (from RAILS_ROOT): | this rake task (from RAILS_ROOT): | ||
|
|
||
rake hoptoad:test | rake airbrake:test | ||
|
|
||
If everything is configured properly, that task will send a notice to Hoptoad | If everything is configured properly, that task will send a notice to Airbrake | ||
which will be visible immediately. | which will be visible immediately. | ||
|
|
||
NOTE FOR RAILS 1.2.* USERS: | NOTE FOR RAILS 1.2.* USERS: | ||
|
|
||
You will need to copy the hoptoad_notifier_tasks.rake file into your | You will need to copy the airbrake_tasks.rb file into your | ||
RAILS_ROOT/lib/tasks directory in order for the rake hoptoad:test task to work. | RAILS_ROOT/lib/tasks directory in order for the rake airbrake:test task to work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters