Rails 3.0 beta send_file issues

Posted by Amar on Stack Overflow See other posts from Stack Overflow or by Amar
Published on 2010-02-22T11:59:02Z Indexed on 2010/03/26 14:13 UTC
Read the original article Hit count: 393

Filed under:

Have you any one try sending file to client_side send_file(url),send_file("#{Rails.root}/public/images/rails.png",:type => "image/png")

it gives an error for any file which i am sending

Proc:0xb74e606c@/home...../gems/actionpack-3.0.0.beta/lib/action_controller/metal/streaming.rb:95

as simple

© Stack Overflow or respective owner

Related posts about ruby-on-rails