diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-04 00:03:56 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-04 00:03:56 +0100 |
commit | 3990310a2bedd0dff5753e3e9b1282e686cff0cc (patch) | |
tree | e5f6d664d543651a02187c6ab8fc35171d19a6be /activesupport/lib/active_support/cache.rb | |
parent | f2d276fefdd620f18bb9fe3524ae9db6da70621d (diff) | |
download | rails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.tar.gz rails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.tar.bz2 rails-3990310a2bedd0dff5753e3e9b1282e686cff0cc.zip |
Use underscore in notification namespaces.
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r-- | activesupport/lib/active_support/cache.rb | 2 |
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 |