I want to do something like this:
Delayed::Job.first.model
=> which should return the model, like the User instance or whatever, that was enqueued. How can I do that? Nothing in the docs, looked through all DJ methods to no avail...
I want to do something like this:
Delayed::Job.first.model
=> which should return the model, like the User instance or whatever, that was enqueued. How can I do that? Nothing in the docs, looked through all DJ methods to no avail...