module ActiveJob::Execution::ClassMethods

def execute(job_data) #:nodoc:

:nodoc:
def execute(job_data) #:nodoc:
  ActiveJob::Callbacks.run_callbacks(:execute) do
    job = deserialize(job_data)
    job.perform_now
  end
end

def perform_now(*args)


MyJob.perform_now("mike")

Performs the job immediately.
def perform_now(*args)
  job_or_instantiate(*args).perform_now
end