Using rescue_from outside of rails

  • Thread starter Dennis Monsewicz
  • Start date
D

Dennis Monsewicz

I have a script that is utilizing the active_record gem outside of rails
for a standalone app, but I am having trouble trying to incorporate the
rescue_from method from Rails.

Would anyone know how to use this method without having to be in a rails
app?
 
P

Perry Smith

According to my ri, rescue_from is part of ActiveSupport.

I would assume you want to use just the normal rescue.

Does that help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top