aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-03-09 17:41:43 +0900
committerGitHub <noreply@github.com>2018-03-09 17:41:43 +0900
commit5d5a70c9547a54b6c0bcf14f099e1237a64ef09c (patch)
treed7c8c3d1e5a5a0fb8376d804df615ceab79ec84b
parenta0438ad46aaed711dbc0331847357c87021b4f01 (diff)
parent9ec91a36de089f5173a269288c4f57ea3cdfe465 (diff)
downloadrails-5d5a70c9547a54b6c0bcf14f099e1237a64ef09c.tar.gz
rails-5d5a70c9547a54b6c0bcf14f099e1237a64ef09c.tar.bz2
rails-5d5a70c9547a54b6c0bcf14f099e1237a64ef09c.zip
Merge pull request #32212 from dharamgollapudi/patch-6
Fixes a typo and updates active_job_basics.md [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 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
```