lundi 10 août 2015

How to find DelayedJob database id?

In a DelayedJob class, I have the methods initialize and perform declared. I can't seem to find a way to get the DelayedJob instance's database ID. I want the ID so that I can log it out with some other information so that if something goes wrong, I have a paper trail.

How can I access the DelayedJob's database ID? I've tried id, params[:id]...

Aucun commentaire:

Enregistrer un commentaire