Skip to Content Skip to Search
v7.1.0
module ActiveJob::Execution::ClassMethods

ActiveJob::Execution::ClassMethods

Includes methods for executing and performing jobs instantly.

Methods
P

Public instance methods

perform_now(...)

Permalink

Performs the job immediately.

MyJob.perform_now("mike")
Source code GitHub
# File activejob/lib/active_job/execution.rb, line 23
def perform_now(...)
  job_or_instantiate(...).perform_now
end
Definition files