Forum: Ruby on Rails X_send_file download 1byte file instade of original size

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dharmdip R. (Guest)
on 2009-01-28 10:23
i m using x_send_file pluggins and download file then only 1byte file is
downloaded.

in Controller
x_send_file("#{RAILS_ROOT}/public#{params[:file]}")

if you have idea for this problem so give me a solution
This topic is locked and can not be replied to.