aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-09-18 22:15:46 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-09-18 22:15:46 +0900
commit9291a813694b4b443557c282ba1fbb0c8b909d27 (patch)
tree9758f54c70fad39daa2c41923ee5f36d1bd3bd65
parent3d7d1e2165c9aa6c304e063d27437df0f234b3ef (diff)
downloadrails-9291a813694b4b443557c282ba1fbb0c8b909d27.tar.gz
rails-9291a813694b4b443557c282ba1fbb0c8b909d27.tar.bz2
rails-9291a813694b4b443557c282ba1fbb0c8b909d27.zip
Use ApplicationJob instead of ActiveJob::Base in guide [ci skip]
-rw-r--r--guides/source/active_job_basics.md2
1 files changed, 1 insertions, 1 deletions
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