From c104940363ee616c3ea9e0eeb085e39740211fdf Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 24 Aug 2016 15:52:40 -0700 Subject: remove useless freeze Ruby already does this freeze for us. --- actionview/lib/action_view/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index 5480501988..d75457f1eb 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -343,7 +343,7 @@ module ActionView def instrument(action, &block) payload = { virtual_path: @virtual_path, identifier: @identifier } case action - when "!render_template".freeze + when "!render_template" ActiveSupport::Notifications.instrument("!render_template.action_view".freeze, payload, &block) else ActiveSupport::Notifications.instrument("#{action}.action_view".freeze, payload, &block) -- cgit v1.2.3