class ActiveJob::QueueAdapters::InlineAdapter
Rails.application.config.active_job.queue_adapter = :inline
To use the Inline set the queue_adapter config to :inline
.
immediately.
When enqueuing jobs with the Inline adapter the job will be executed
== Active Job Inline adapter
def enqueue(job) # :nodoc:
def enqueue(job) # :nodoc: Base.execute(job.serialize) end
def enqueue_at(*) # :nodoc:
def enqueue_at(*) # :nodoc: raise NotImplementedError, "Use a queueing backend to enqueue jobs in the future. Read more at https://guides.rubyonrails.org/active_job_basics.html" end