Merge branch '11549-cwl-smarter-mounts' closes #11549
[arvados.git] / services / api / config / initializers / noop_deep_munge.rb
index abfa7e58201b7a1a70151dbfc6af7b91c4d799af..b1f84e95205dfb113982e2cddc1eb4c9ff39f20d 100644 (file)
@@ -2,6 +2,7 @@ module ActionDispatch
   class Request < Rack::Request
     # This Rails method messes with valid JSON, for example turning the empty
     # array [] into 'nil'.  We don't want that, so turn it into a no-op.
+    remove_method :deep_munge
     def deep_munge(hash)
       hash
     end