aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorzvkemp <zvkemp@gmail.com>2018-10-05 14:02:39 -0700
committerzvkemp <zvkemp@gmail.com>2018-10-05 14:10:02 -0700
commit881f4f38d44fb56db48ecd5683ebfffcc8fc284e (patch)
tree22f3c146cd3e627e43120843122dd2147dbed89b /activesupport
parent251b9d4bd62bfc076969bd0751fa4cc6e95a4f33 (diff)
downloadrails-881f4f38d44fb56db48ecd5683ebfffcc8fc284e.tar.gz
rails-881f4f38d44fb56db48ecd5683ebfffcc8fc284e.tar.bz2
rails-881f4f38d44fb56db48ecd5683ebfffcc8fc284e.zip
clarify role of unique_id in ActiveSupport::Notifications
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/notifications.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 6207de8094..2d8b9c5d86 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -34,7 +34,7 @@ module ActiveSupport
# name # => String, name of the event (such as 'render' from above)
# start # => Time, when the instrumented block started execution
# finish # => Time, when the instrumented block ended execution
- # id # => String, unique ID for this notification
+ # id # => String, unique ID for the instrumenter that fired the event
# payload # => Hash, the payload
# end
#
@@ -59,7 +59,7 @@ module ActiveSupport
# event.payload # => { extra: :information }
#
# The block in the <tt>subscribe</tt> call gets the name of the event, start
- # timestamp, end timestamp, a string with a unique identifier for that event
+ # timestamp, end timestamp, a string with a unique identifier for that event's instrumenter
# (something like "535801666f04d0298cd6"), and a hash with the payload, in
# that order.
#