From ebb83e46ba0c11e9a087949138233ca8dd9ef690 Mon Sep 17 00:00:00 2001 From: Petrik Date: Sun, 13 Sep 2020 10:31:47 +0200 Subject: [PATCH] Remove unused @cache_hit Hash assignment In 2abf6ca0c8304a3cfcdae6e14060b561780be43c @cache_hit got introduced. This was renamed to @cache_hits and revised in the subsequent commit 8240636beda7b2b487217be1d945eb0d36145c4d but it seems one assignment was overlooked. --- actionview/lib/action_view/base.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/actionview/lib/action_view/base.rb b/actionview/lib/action_view/base.rb index 3f495b5bc6..3c54160b9f 100644 --- a/actionview/lib/action_view/base.rb +++ b/actionview/lib/action_view/base.rb @@ -267,7 +267,6 @@ module ActionView #:nodoc: @view_renderer = ActionView::Renderer.new @lookup_context @current_template = nil - @cache_hit = {} assign(assigns) assign_controller(controller) _prepare_context