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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, May 17, 2011 at 4:01 PM, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote:> 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 ? >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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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...-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org> wrote:> On Tue, May 17, 2011 at 4:01 PM, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote: > > 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 ? > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- Cannot get multipart => true , running well in my form when using remote => true
- A file-upload suddenly seems to be nil
- Rails 3.1.1 why public/system content is not transferred upon deployment
- redirection in format.json ...
- how to import a dump .sql file in a rake task