How to delete Sidekiq jobs in a Rails app using ActiveJobs
Sidekiq jobs can be enqueued or scheduled. Enqueued means that they are gonna be picked up as soon as possible, scheduled jobs will be enqueued at some specific time.
job_id and jid
When using ActiveJobs, Rails will return a
job_id after sending the job to ActiveJobs
job = UserMailer.send_invite(params).deliver_later