Can't dump File ... when uploading files

180 vistas
Ir al primer mensaje no leído

Erwin

no leída,
17 may 2011, 5:01:17 p.m.17/5/2011
para Ruby on Rails: Talk
I am getting this error on the redirect_to command ...

I am using Rails 3 w Paperclip to upload files ( but I tried also
CarrierWave .. same error)
I tried to change the session store from cookie-based to database ..
same error
I tried to delete the params content ...
I don't know what to try next .. any clue ?

thanks

erwin

David Kahn

no leída,
17 may 2011, 6:56:50 p.m.17/5/2011
para rubyonra...@googlegroups.com

You should post the full error, this is quite vague. Copy the trace from your console and someone may have some insight.
 

thanks

erwin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Erwin

no leída,
18 may 2011, 2:37:28 a.m.18/5/2011
para Ruby on Rails: Talk
Hi David
I was re-running my test to output the trace , but I tested again
another trick ... by trying to delete directly the upload tempfile
attribute of the ActionDispatch::Http::UploadedFile created instance
before the redirect_to ...

params[:clip][:data].tempfile = nil
redirect_to ...

and it's running ... so params[:clip][:data] = nil or
params[:clip] = nil is not enough ...


On 18 mai, 00:56, David Kahn <d...@structuralartistry.com> wrote:
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos