How to GET Job ID in perform action in activejob (adapter=resque) in Rails

2.7k views Asked by At

I can get the JOB ID from before_enqueue method e.g.

before_enqueue do |job|
  puts "Before Enqueu JOB ID: #{job.job_id}"
end

BUT I want to get it also in perform method Please Help!

0

There are 0 answers