module ActiveSupport::Rescuable

def rescue_with_handler(exception)

rescue_from handlers (method calls, +instance_exec+ blocks).
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