From 97412e08a65bbc3a32aa5f71e9e2121c2420fa34 Mon Sep 17 00:00:00 2001 From: Shota Iguchi Date: Mon, 19 Nov 2018 15:59:14 +0900 Subject: [PATCH] [ci skip] Update active_job_basics.md ApplicationJob should be inherits ActiveJob::Base --- 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 4dc69ef911..39239852ca 100644 --- a/guides/source/active_job_basics.md +++ b/guides/source/active_job_basics.md @@ -289,7 +289,7 @@ style if the code inside your block is so short that it fits in a single line. For example, you could send metrics for every job enqueued: ```ruby -class ApplicationJob +class ApplicationJob < ActiveJob::Base before_enqueue { |job| $statsd.increment "#{job.class.name.underscore}.enqueue" } end ```