module ActiveJob::Execution::ClassMethods

Includes methods for executing and performing jobs instantly.

Public Instance Methods

Performs the job immediately.

MyJob.perform_now("mike")
# File activejob/lib/active_job/execution.rb, line 22
def perform_now(...)
  job_or_instantiate(...).perform_now
end