Pregunta

Well, i'm a new linux/rails student and some problems I just get so blind to solve. I've been digging stackoverflow and google to solve this one, but sincerly I cant. Only thing I know that is related with chmod and chown commands. "Anuncios" is my table as you can see.

error image: enter image description here

I known the error reason is paperclip because I can create a entry without uploading a image. App running in Ubuntu. RoR 4.

Thanks.

¿Fue útil?

Solución

/Anuncios isn't your table (maybe, you mean desktop?). Your Desktop at ~/Desktop -or- /home/Anuncios/Desktop

/Anuncios looks like 'system dir', and it not exists

Otros consejos

SOLVED!

A coworker of mine help me and he said that in my controller I was using a rails 4 convetion [put filtrated params -> @anuncio = Anuncio.new(anuncio_params)] that used to be at model in rails 3; sometimes rails bug out due this change. Just swift anuncio_params by params[:anuncio].

TL,DR:

Sometimes rails bugs due some syntax version changes. Just substitute in my controller this: #@anuncio = Anuncio.new(anuncio_params) for this: @anuncio = Anuncio.new(params[:anuncio]) and works!

Thanks Vitalyp and Kirti Thorat for the contribution. Ps: nothing relative to Image Magick.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top