projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
7709: Merge branch 'master' into 7709-api-rails4
[arvados.git]
/
services
/
api
/
config
/
initializers
/
noop_deep_munge.rb
1
module ActionDispatch
2
class Request < Rack::Request
3
# This Rails method messes with valid JSON, for example turning the empty
4
# array [] into 'nil'. We don't want that, so turn it into a no-op.
5
remove_method :deep_munge
6
def deep_munge(hash)
7
hash
8
end
9
end
10
end