Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README, fixed JS rescue template missed HT reference.

  • Loading branch information...
commit 81cd20aa4296c05c42881326c3f626848897131e 1 parent 3ff689e
Jonathan Siegel authored
Showing with 13 additions and 13 deletions.
  1. +8 −8 INSTALL
  2. +4 −4 README.md
  3. +1 −1  lib/templates/rescue.erb
View
16 INSTALL
@@ -1,25 +1,25 @@
=== 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'
end
(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
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):
- 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.
NOTE FOR RAILS 1.2.* USERS:
-You will need to copy the hoptoad_notifier_tasks.rake file into your
-RAILS_ROOT/lib/tasks directory in order for the rake hoptoad:test task to work.
+You will need to copy the airbrake_tasks.rb file into your
+RAILS_ROOT/lib/tasks directory in order for the rake airbrake:test task to work.
View
8 README.md
@@ -16,15 +16,15 @@ For discussion of Airbrake development check out the [mailing list](http://group
Rails Installation
------------------
-### Remove exception_notifier
+### Remove hoptoad_notifier
in your ApplicationController, REMOVE this line:
- include ExceptionNotifiable
+ include HoptoadNotifiable
-In your config/environment* files, remove all references to ExceptionNotifier
+In your config/environment* files, remove all references to HoptoadNotifier
-Remove the vendor/plugins/exception_notifier directory.
+Remove the vendor/plugins/hoptoad_notifier directory.
### Remove hoptoad_notifier plugin
View
2  lib/templates/rescue.erb
@@ -70,7 +70,7 @@ var Airbrake = {
};
window.onload = function() {
- Airbrake.initialize.apply(Hoptoad);
+ Airbrake.initialize.apply(Airbrake);
};
</script>
Please sign in to comment.
Something went wrong with that request. Please try again.