Displaying 1 result from an estimated 1 matches for "one_contact".
Did you mean:
an_contact
2008 Oct 27
8
why can't johnny download?
...I don''t know enough about
what''s wrong to tell for sure.
Here''s the relevant code that makes the link:
@temp_download_file_path = "/tmp/#{modified_email}.csv"
...
FasterCSV.open(@temp_download_file_path, "w") do |csv|
@contacts.each do |one_contact|
...csv stuff that is working and not relevant
end
end
render :update do |page|
page.replace_html ''div_for_csv_link'', "<a
href=''file:#{@temp_download_file_path}'' target=''_blank'' >Download the
file here&...