Sha256: 445f887beaaae9a8ae0b714d2d7caf5fb6b22d0e90245134b5068a2c059590e1
Contents?: true
Size: 643 Bytes
Versions: 52
Compression:
Stored size: 643 Bytes
Contents
module ActiveJob module QueueAdapters # == Active Job Inline adapter # # When enqueuing jobs with the Inline adapter the job will be executed # immediately. # # To use the Inline set the queue_adapter config to +:inline+. # # Rails.application.config.active_job.queue_adapter = :inline class InlineAdapter def enqueue(job) #:nodoc: Base.execute(job.serialize) end def enqueue_at(*) #:nodoc: raise NotImplementedError, "Use a queueing backend to enqueue jobs in the future. Read more at http://guides.rubyonrails.org/active_job_basics.html" end end end end
Version data entries
52 entries across 52 versions & 4 rubygems