aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-04 00:03:56 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-04 00:03:56 +0100
commit3990310a2bedd0dff5753e3e9b1282e686cff0cc (patch)
treee5f6d664d543651a02187c6ab8fc35171d19a6be /activesupport
parentf2d276fefdd620f18bb9fe3524ae9db6da70621d (diff)
downloadrails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.tar.gz
rails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.tar.bz2
rails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.zip
Use underscore in notification namespaces.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 25314ffd43..6360a4614e 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -253,7 +253,7 @@ module ActiveSupport
if self.class.instrument
payload = { :key => key }
payload.merge!(options) if options.is_a?(Hash)
- ActiveSupport::Notifications.instrument("activesupport.cache_#{operation}", payload){ yield }
+ ActiveSupport::Notifications.instrument("active_support.cache_#{operation}", payload){ yield }
else
yield
end