Fixed bug when submitting huge forms. (stock taking etc)

This commit is contained in:
Benjamin Meichsner 2013-02-26 10:59:05 +01:00
parent b308442b3c
commit c4ce5dea98

View file

@ -0,0 +1,3 @@
# Increase key space for post request.
# Warning, this is dangerous. See http://stackoverflow.com/questions/12243694/getting-error-exceeded-available-parameter-key-space
Rack::Utils.key_space_limit = 262144