Commit ee80febd0023eb002a094824fa46477edd7755f3
1 parent
e672b530
Exists in
master
and in
18 other branches
Use ApplicationJob in examples [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
@@ -1344,7 +1344,7 @@ end | @@ -1344,7 +1344,7 @@ end | ||
1344 | Create a job to update the cache and reindex records with new conversions. | 1344 | Create a job to update the cache and reindex records with new conversions. |
1345 | 1345 | ||
1346 | ```ruby | 1346 | ```ruby |
1347 | -class ReindexConversionsJob < ActiveJob::Base | 1347 | +class ReindexConversionsJob < ApplicationJob |
1348 | def perform(class_name) | 1348 | def perform(class_name) |
1349 | # get records that have a recent conversion | 1349 | # get records that have a recent conversion |
1350 | recently_converted_ids = | 1350 | recently_converted_ids = |