Hi all,
when I try to upload a file with 200kb or less, rails does it fine. But when I try a bigger one, I get the following error:
ActiveRecord::StatementInvalid in ConteudoController#enviar_imagem
Mysql::Error: Lost connection to MySQL server during query: INSERT INTO conteudo_imagem (`comentario`, `nome`, `conteudo_id`, `ordem`, `tipo`, `data`) VALUES('', '5.png', 49, 8, 'image/png', x'89504e........
Is there a configuration I should do? What is wrong?
thks
Bruno Reis