class MyKlass include ActiveSupport::Rescuable rescue_from Exception do return "rescued" end #other stuffend
MyKlass is pure ruby object, but defined inside Rails application.
If I try to invoke MyKlass instance in rails console and then apply to it method which certainly should raise Exception, nothing happens other than error expected to be rescued.