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