module ActiveJob::Execution::ClassMethods
def execute(job_data) # :nodoc:
def execute(job_data) # :nodoc: ActiveJob::Callbacks.run_callbacks(:execute) do job = deserialize(job_data) job.perform_now end end
def perform_now(...)
MyJob.perform_now("mike")
Performs the job immediately.
def perform_now(...) job_or_instantiate(...).perform_now end