mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixes a typo and updates active_job_basics.md
Fixes a typo
This commit is contained in:
parent
eec723f69a
commit
9ec91a36de
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue