From bc551bfcb169a94d56aa3f802a7197d352cd3176 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 27 Nov 2020 00:21:42 +0900 Subject: [PATCH] TagHelper uses Enumerable#index_with --- actionview/lib/action_view/helpers/tag_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/actionview/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb index 483e6dc8ee..c22326dd0b 100644 --- a/actionview/lib/action_view/helpers/tag_helper.rb +++ b/actionview/lib/action_view/helpers/tag_helper.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "active_support/core_ext/enumerable" require "active_support/core_ext/string/output_safety" require "set" require "action_view/helpers/capture_helper"