From c779a47d01ddcdcfde448c91b126fda1c935c9e9 Mon Sep 17 00:00:00 2001 From: Schnittchen Date: Sat, 16 Jun 2012 14:35:55 +0300 Subject: [PATCH] Documentation: make it clearer that subscribers are not notified asynchronously, but saved for later use. --- activesupport/lib/active_support/notifications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"