aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-17 23:44:03 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-17 23:44:03 +0100
commita6dc227167a8a720bd18495268305b15aa08d8f4 (patch)
treeb641b258a5670526947145c27d091f991e482b2e /activesupport/lib/active_support/notifications
parent21dcbb17de86b92df1a67e233fdc457be4fdf2d7 (diff)
downloadrails-a6dc227167a8a720bd18495268305b15aa08d8f4.tar.gz
rails-a6dc227167a8a720bd18495268305b15aa08d8f4.tar.bz2
rails-a6dc227167a8a720bd18495268305b15aa08d8f4.zip
Mark bang instrumentations as something that you shuold not be listening to.
Diffstat (limited to 'activesupport/lib/active_support/notifications')
-rw-r--r--activesupport/lib/active_support/notifications/fanout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb
index cd60054862..a3ddc7705a 100644
--- a/activesupport/lib/active_support/notifications/fanout.rb
+++ b/activesupport/lib/active_support/notifications/fanout.rb
@@ -44,7 +44,7 @@ module ActiveSupport
when Regexp, NilClass
pattern
else
- /^#{Regexp.escape(pattern.to_s)}/
+ /^#{Regexp.escape(pattern.to_s)}$/
end
end