From 128c5b7db3ce6eef59fb6f575514c45086bf6c53 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 29 Dec 2023 05:23:30 -0500 Subject: [PATCH] Fix `Performance/StringIdentifierArgument` cop (#28508) --- app/models/concerns/remotable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/remotable.rb b/app/models/concerns/remotable.rb index 6118e204a..8382c9159 100644 --- a/app/models/concerns/remotable.rb +++ b/app/models/concerns/remotable.rb @@ -46,7 +46,7 @@ module Remotable public_send(:"download_#{attachment_name}!", url) if download_on_assign end - alias_method(:"reset_#{attachment_name}!", "download_#{attachment_name}!") + alias_method(:"reset_#{attachment_name}!", :"download_#{attachment_name}!") end end end