diff options
author | Stan Lo <a22301613@yahoo.com.tw> | 2017-02-19 22:58:35 +0800 |
---|---|---|
committer | Stan Lo <a22301613@yahoo.com.tw> | 2017-02-19 23:32:36 +0800 |
commit | c61488b4adf987979e229ebcfb3ed78814efd32a (patch) | |
tree | 63b56090f1beac29cb5e0745b685ce5c60020694 | |
parent | e51572dce00c5f011f019397984ed8e82d94fc84 (diff) | |
download | rails-c61488b4adf987979e229ebcfb3ed78814efd32a.tar.gz rails-c61488b4adf987979e229ebcfb3ed78814efd32a.tar.bz2 rails-c61488b4adf987979e229ebcfb3ed78814efd32a.zip |
Unfreeze interpolated string because it's useless.
-rw-r--r-- | actionpack/lib/abstract_controller/caching/fragments.rb | 2 | ||||
-rw-r--r-- | actionview/lib/action_view/template.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/abstract_controller/caching/fragments.rb b/actionpack/lib/abstract_controller/caching/fragments.rb index 13fa2b393d..c85b4adba1 100644 --- a/actionpack/lib/abstract_controller/caching/fragments.rb +++ b/actionpack/lib/abstract_controller/caching/fragments.rb @@ -136,7 +136,7 @@ module AbstractController def instrument_fragment_cache(name, key) # :nodoc: payload = instrument_payload(key) - ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}".freeze, payload) { yield } + ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}", payload) { yield } end end end diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index c067031d2d..b0e2f1e54e 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -345,7 +345,7 @@ module ActionView end def instrument(action, &block) # :doc: - ActiveSupport::Notifications.instrument("#{action}.action_view".freeze, instrument_payload, &block) + ActiveSupport::Notifications.instrument("#{action}.action_view", instrument_payload, &block) end def instrument_render_template(&block) |