Top "Rails-activejob" questions

A Ruby On Rails framework for declaring jobs and performing or enqueuing them.

How to check what is queued in ActiveJob using Rspec

I'm working on a reset_password method in a Rails API app. When this endpoint is hit, an ActiveJob is …

ruby-on-rails ruby rspec rails-activejob
How to test ActionMailer deliver_later with rspec

trying to upgrade to Rails 4.2, using delayed_job_active_record. I've not set the delayed_job backend for test environment …

ruby-on-rails rspec actionmailer delayed-job rails-activejob
How do I schedule recurring jobs in Active Job (Rails 4.2)?

I found this Schedule one-time jobs in Rails but this only shows how schedule one-time. I am interested in scheduling …

ruby-on-rails ruby-on-rails-4 rails-activejob
ActiveJob::SerializationError - Unsupported argument type: Time / DateTime

I am using Rails 5 and ActiveJob to process background tasks. I am trying to pass a object serialized with as_…

ruby datetime ruby-on-rails-5 rails-activejob
Difference between Action Job/Mailer's `deliver_now` and `deliver_later`

The common pattern for interfacing with ActionJob in Rails is to set up a Job with a perform() method that …

ruby-on-rails jobs rails-activejob
Sidekiq Rails 4.2 Use Active Job or Worker? What's the difference

This is my first processing jobs asynchronously I am implementing Sidekiq for background processing in my app. I will use …

ruby-on-rails asynchronous sidekiq whenever rails-activejob
Disable automatic retry with ActiveJob, used with Sidekiq

Is there a way to disable automatic retry with ActiveJob and Sidekiq ? I know that with Sidekiq only, we just …

ruby-on-rails sidekiq rails-activejob
How can I run an ActiveJob in Rails console for debugging?

I currently have an ActiveJob that I've created and use Sidekiq to queue it. I'm wanting to debug the job, …

ruby-on-rails sidekiq rails-console rails-activejob
How to set retry count for Sidekiq with ActiveJob?

From the Rails API, I found ActiveJob can retry_job interval: my_job_instance.enqueue my_job_instance.enqueue wait: 5.…

sidekiq rails-activejob
Execute pending job with ActiveJob in rspec

I have this code to test ActiveJob and ActionMailer with Rspec I don't know how really execute all enqueued job …

ruby-on-rails rspec actionmailer rails-activejob