aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications.rb
diff options
context:
space:
mode:
authorSchnittchen <schnittchen>2012-06-16 14:35:55 +0300
committerSchnittchen <schnittchen>2012-06-16 14:35:55 +0300
commitc779a47d01ddcdcfde448c91b126fda1c935c9e9 (patch)
tree0aab9bcf5931f611be36512a98269c7525366669 /activesupport/lib/active_support/notifications.rb
parentd28ba0def829f6fb9ecf824c036391058cbb9e66 (diff)
downloadrails-c779a47d01ddcdcfde448c91b126fda1c935c9e9.tar.gz
rails-c779a47d01ddcdcfde448c91b126fda1c935c9e9.tar.bz2
rails-c779a47d01ddcdcfde448c91b126fda1c935c9e9.zip
Documentation: make it clearer that subscribers are not notified asynchronously, but saved for later use.
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r--activesupport/lib/active_support/notifications.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 6735c561d3..e3d8cf48ce 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -33,7 +33,7 @@ module ActiveSupport
# end
#
# That code returns right away, you are just subscribing to "render" events.
- # The block will be called asynchronously whenever someone instruments "render":
+ # The block is saved and will be called whenever someone instruments "render":
#
# ActiveSupport::Notifications.instrument("render", :extra => :information) do
# render :text => "Foo"