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