From 9291a813694b4b443557c282ba1fbb0c8b909d27 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Hirano Date: Mon, 18 Sep 2017 22:15:46 +0900 Subject: [PATCH] Use ApplicationJob instead of ActiveJob::Base in guide [ci skip] --- guides/source/active_job_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md index f94e9fe197..914ef2c327 100644 --- a/guides/source/active_job_basics.md +++ b/guides/source/active_job_basics.md @@ -395,7 +395,7 @@ It's also possible to retry or discard a job if an exception is raised during ex For example: ```ruby -class RemoteServiceJob < ActiveJob::Base +class RemoteServiceJob < ApplicationJob retry_on CustomAppException # defaults to 3s wait, 5 attempts discard_on ActiveJob::DeserializationError