module ActiveSupport::Rescuable
def rescue_with_handler(exception)
Delegates to the class method, but uses the instance as the subject for
def rescue_with_handler(exception) self.class.rescue_with_handler exception, object: self end
def rescue_with_handler(exception) self.class.rescue_with_handler exception, object: self end