123456789_123456789_123456789_123456789_123456789_

Module: ActiveJob::Execution::ClassMethods

Relationships & Source Files
Defined in: activejob/lib/active_job/execution.rb

Overview

Includes methods for executing and performing jobs instantly.

Instance Method Summary

Instance Method Details

#perform_now(*args)

Performs the job immediately.

MyJob.perform_now("mike")
[ GitHub ]

  
# File 'activejob/lib/active_job/execution.rb', line 15

def perform_now(*args)
  job_or_instantiate(*args).perform_now
end