Includes methods for executing and performing jobs instantly.

Methods

Instance Public methods

perform_now(*args)

Performs the job immediately.

MyJob.perform_now("mike")
📝 Source code
# File activejob/lib/active_job/execution.rb, line 17
      def perform_now(*args)
        job_or_instantiate(*args).perform_now
      end
🔎 See on GitHub