Fixed bug when submitting huge forms. (stock taking etc)
This commit is contained in:
parent
b308442b3c
commit
c4ce5dea98
1 changed files with 3 additions and 0 deletions
3
config/initializers/rack.rb
Normal file
3
config/initializers/rack.rb
Normal 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
|
Loading…
Reference in a new issue