Rack has introduced this limit to prevent your server from being DOSed through large form submissions. The default value should also be enough for anyone if Rack counted nested params correctly.
This
seems to be fixed
Show archive.org snapshot
in newer versions of Rack, so you might be able to fix it by upgrading rack
.
You can also increase the limit by a reasonable amount by adding this to your environment.rb
, application.rb
or an initializer:
if Rack::Utils.respond_to?("key_space_limit=")
Rack::Utils.key_space_limit = 262144 # 4 times the default size
end