From 9ec91a36de089f5173a269288c4f57ea3cdfe465 Mon Sep 17 00:00:00 2001 From: Dharam Gollapudi Date: Thu, 8 Mar 2018 18:31:48 -0800 Subject: [PATCH] Fixes a typo and updates active_job_basics.md Fixes a typo --- 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 97d98efba0..9d911d4ee4 100644 --- a/guides/source/active_job_basics.md +++ b/guides/source/active_job_basics.md @@ -290,7 +290,7 @@ For example, you could send metrics for every job enqueued: ```ruby class ApplicationJob - before_enqueue { |job| $statsd.increment "#{job.name.underscore}.enqueue" } + before_enqueue { |job| $statsd.increment "#{job.class.name.underscore}.enqueue" } end ```