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

This commit is contained in:
Benjamin Meichsner 2013-02-26 10:59:05 +01:00 committed by Benjamin Meichsner
parent 7e0a4acf59
commit 2f109c376d
1 changed files with 3 additions and 0 deletions

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