Skip to content

Commit

Permalink
Use ApplicationJob instead of ActiveJob::Base in guide [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirano55 committed Sep 18, 2017
1 parent 3d7d1e2 commit 9291a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_job_basics.md
Expand Up @@ -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
Expand Down

0 comments on commit 9291a81

Please sign in to comment.