# Workaround for incorrect counting of the keyspace in nested params in rack
# https://github.com/rack/rack/pull/321
# https://github.com/rack/rack/issues/318
if Rack::Utils.respond_to?("key_space_limit=")
  Rack::Utils.key_space_limit = 2622144
end

Add workaround for poor query key counting in Rack 1.1.6
Add workaround for poor query key counting in Rack 1.1.6

Otherwise queries with lots of nested params, such as route updates, produce 'exceeded available parameter key space' errors.
