1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Suggest the perform method can take arguments when generating an ActiveJob job

This commit is contained in:
Cristian Bica 2014-08-15 23:35:06 +03:00
parent 94ae25ecd5
commit c2f1eca194

View file

@ -2,8 +2,8 @@
class <%= class_name %>Job < ActiveJob::Base
queue_as :<%= options[:queue] %>
def perform
def perform(*args)
# Do something later
end
end
<% end -%>
<% end -%>