diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-03-09 17:41:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 17:41:43 +0900 |
commit | 5d5a70c9547a54b6c0bcf14f099e1237a64ef09c (patch) | |
tree | d7c8c3d1e5a5a0fb8376d804df615ceab79ec84b | |
parent | a0438ad46aaed711dbc0331847357c87021b4f01 (diff) | |
parent | 9ec91a36de089f5173a269288c4f57ea3cdfe465 (diff) | |
download | rails-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.md | 2 |
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 ``` |