From 5156a03ac6d25ee7097a94082551a2eed59b0cf0 Mon Sep 17 00:00:00 2001 From: nanaya Date: Mon, 4 Nov 2024 07:08:01 +0900 Subject: [PATCH] Use BasicObject as per suggestion --- config/core_ext/legacy-prototype_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/core_ext/legacy-prototype_helper.rb b/config/core_ext/legacy-prototype_helper.rb index 7db5b973..9b931202 100644 --- a/config/core_ext/legacy-prototype_helper.rb +++ b/config/core_ext/legacy-prototype_helper.rb @@ -649,7 +649,7 @@ module ActionView end # Converts chained method calls on DOM proxy elements into JavaScript chains - class JavaScriptProxy < ActiveSupport::ProxyObject # :nodoc: + class JavaScriptProxy < ::BasicObject # :nodoc: def initialize(generator, root = nil) @generator = generator @generator << root if root