Hi, in my application i want to develop a code where when i click on download link , csv file get downloaded to client side. so for this i put <a href="/download_template.csv" style="color:#000000"> Download the group template (requires Excel).</a>(download_template.csv is my public dir.) code in rhtml.its working correctly for IE but in Mozilla it directly open in browser instade that it ask for pop up, how should i do it?
on 2008-05-20 09:53
on 2008-05-20 14:33
Please post this question on the rubyonrails-talk mailing list. This list is reserved for rails-core specific issues only. On Tue, May 20, 2008 at 5:23 PM, Sunny Bogawat < ruby-forum-incoming@andreas-s.net> wrote: > Posted via http://www.ruby-forum.com/. > > > > -- Appreciated my help? Recommend me on Working With Rails http://workingwithrails.com/person/11030-ryan-bigg