Fixed bug when submitting huge forms. (stock taking etc)
This commit is contained in:
parent
7e0a4acf59
commit
2f109c376d
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