airbrake/airbrake — pull request #160 by adamvduke (2012-12-24 18:11:47+00:00)
Title: Fix an error if not using ActionController::Base

Commit 3167c3eeb426f3b76feb095c657c0f1b8606d1b3 changed the logic for loading
javascript_notifier.rb. The javascript notifier has a dependency on the "helper_method" method on ActionController::Base. When using an alternate controller such as ActionController::API provided by https://github.com/rails-api/rails-api this causes an "undefined method `helper_method'" error. This change reverts the logic to the previous approach.