1
0
Fork 0
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:
Dharam Gollapudi 2018-03-08 18:31:48 -08:00 committed by GitHub
parent eec723f69a
commit 9ec91a36de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```