We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192a49a commit 6dfb48aCopy full SHA for 6dfb48a
lib/exception_notifier.rb
@@ -4,9 +4,9 @@
4
class ExceptionNotifier
5
def self.default_ignore_exceptions
6
[].tap do |exceptions|
7
- exceptions << ActiveRecord::RecordNotFound if defined? ActiveRecord
8
- exceptions << AbstractController::ActionNotFound if defined? AbstractController
9
- exceptions << ActionController::RoutingError if defined? ActionController
+ exceptions << ::ActiveRecord::RecordNotFound if defined? ::ActiveRecord::RecordNotFound
+ exceptions << ::AbstractController::ActionNotFound if defined? ::AbstractController::ActionNotFound
+ exceptions << ::ActionController::RoutingError if defined? ::ActionController::RoutingError
10
end
11
12
0 commit comments