module ActiveSupport::Rescuable

def handler_for_rescue(exception) # :nodoc:

:nodoc:
this directly, so keeping it around for compatibility.
Internal handler lookup. Delegates to class method. Some libraries call
def handler_for_rescue(exception) # :nodoc:
  self.class.handler_for_rescue exception, object: self
end