search for: get_zip

Displaying 1 result from an estimated 1 matches for "get_zip".

Did you mean: get_eip
2006 Apr 13
0
Making @headers[''Refresh''] and send_file work together?
I''ve got a Rails 1.1 app where people can click a link to download a custom-generated file. The link to "Download Zip" goes to / controller/get_zip. That action looks like this: def get_zip @cart = find_cart ids = Array.new @cart.songs.each do |song| ids.push song.id end args = ids.join(" ") zipfile = `#{RAILS_ROOT}/perl/buildzip.pl #{args}` begin size = File.stat(zipfile).size...