Because the trac doesn''t work at the moment, i''ll post this here so it isn''t lost. send_file seems to be broken in latest trunk (1358). I only get the first 1 or 2k or so, then download stalls and aborts after a while (happens with WEBrick and apache+fast_cgi). Thomas
> Because the trac doesn''t work at the moment, i''ll post this here so > it isn''t lost. > > send_file seems to be broken in latest trunk (1358). >Yeah, some thing must have gone wrong as I was refactoring the render API. Please do have a look at fixing it as I won''t be able to for a little while. And let''s see if we can get the tests in that shows the failure. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1885 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-core/attachments/20050529/7f811907/smime.bin
On May 29, 2005, at 3:53 PM, David Heinemeier Hansson wrote:>> Because the trac doesn''t work at the moment, i''ll post this here >> so it isn''t lost. >> >> send_file seems to be broken in latest trunk (1358). >> >> > > Yeah, some thing must have gone wrong as I was refactoring the > render API. Please do have a look at fixing it as I won''t be able > to for a little while. And let''s see if we can get the tests in > that shows the failure.The problem appears to be due to "render :text" applying the active layout by default, whereas render_text did not. I''ll try and take a stab and fixing this tomorrow, but if anyone beats me to the punch, or has any suggestions about how to go about fixing this, I''d love to hear from you. - Jamis