1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make one line example fit on one line [ci skip]

This commit is contained in:
Bart de Water 2017-08-09 15:31:02 -04:00
parent 2013dede29
commit 2f96912229

View file

@ -289,9 +289,7 @@ For example, you could send metrics for every job enqueued:
```ruby
class ApplicationJob
before_enqueue do |job|
$statsd.increment "#{job.name.underscore}.enqueue"
end
before_enqueue { |job| $statsd.increment "#{job.name.underscore}.enqueue" }
end
```