instance method
perform_now
Ruby on Rails 6.1.7.10
Since v4.2.9Signature
perform_now(*args)
Performs the job immediately.
MyJob.perform_now("mike")
Parameters
-
argsrest
Source
# File activejob/lib/active_job/execution.rb, line 17
def perform_now(*args)
job_or_instantiate(*args).perform_now
end
Defined in activejob/lib/active_job/execution.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Execution::ClassMethods