From 4320939284388e49f3e9bc88204e22796dc88878 Mon Sep 17 00:00:00 2001 From: Damir Svrtan Date: Thu, 23 Jul 2015 13:13:08 +0200 Subject: [PATCH] Some versions have the notify_bugsnag method private. --- lib/rocket_pants/controller/rescuable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rocket_pants/controller/rescuable.rb b/lib/rocket_pants/controller/rescuable.rb index ef7bd8a..1c9d9ac 100644 --- a/lib/rocket_pants/controller/rescuable.rb +++ b/lib/rocket_pants/controller/rescuable.rb @@ -23,7 +23,7 @@ module Rescuable end }, :bugsnag => lambda { |controller, exception, request| - controller.notify_bugsnag(exception, request: request) + controller.send(:notify_bugsnag, exception, request: request) } }