From 0152b4da554e2c3f4e457d6c3a128ecaecfca3a3 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Fri, 6 Nov 2020 11:29:31 +0000 Subject: [PATCH] Fix rubocop issues --- lib/action_dispatch/request.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/action_dispatch/request.rb b/lib/action_dispatch/request.rb index 66f1b1c763..9d9dbd8449 100644 --- a/lib/action_dispatch/request.rb +++ b/lib/action_dispatch/request.rb @@ -30,7 +30,6 @@ module ActionDispatch class Request < Rack::Request class Utils # :nodoc: - mattr_accessor :perform_deep_munge self.perform_deep_munge = true @@ -47,10 +46,11 @@ module ActionDispatch v.compact! # This patch removes the following lines - #if v.empty? - # hash[k] = nil - # ActiveSupport::Notifications.instrument("deep_munge.action_controller", keys: keys) - #end + # if v.empty? + # hash[k] = nil + # ActiveSupport::Notifications.instrument("deep_munge.action_controller", + # keys: keys) + # end when Hash deep_munge(v, keys) end