Error ActionDispatch::Cookies::CookieOverflow Rails Nginx Passenger

May 6, 2016 598 views
Nginx Ruby on Rails Ubuntu

I can not save data over a photo in passenger ...

The system works well using WEBrick or Passenger start and stored without problem.

I understand that rails have a limit on the cookies of 4 K, but it works correctly in local settings also had 5 months ago and it worked right, it could not be wrong

ActionDispatch::Cookies::CookieOverflow

{"usuario"=>{"avatar"=>#<ActionDispatch::Http::UploadedFile:0x000000041fdbd8 @original_filename="logo.png",
@content_type="image/png",
@headers="Content-Disposition: form-data; name=\"usuario[avatar]\"; filename=\"logo.png\"\r\nContent-Type: image/png\r\n",
@tempfile=#<File:/tmp/RackMultipart20160506-2138-jaot3c>>,
"rut"=>"15.384.941-2",
"primernombre"=>"Diego",
"segundo
nombre"=>"Rene",
"apellidopaterno"=>"Rojas",
"apellido
materno"=>"Carrillo",
"fechanacimiento"=>"11/11/1984",
"sexo"=>"1",
"email"=>"diego.rojas@gmail.com",
"telefono
fijo"=>"12345",
"telefono_movil"=>"12345",
"domicilio"=>"Domo CFC",
"tipo"=>"2"}}

Be the first one to answer this question.