RE: Output non-HTML (CSV) from Rails

Adam D. wrote:

you need to change the Content-Type that you send to the browser to be
of type CSV. Something like Content-type: application/vnd.ms-excel

http://railswiki.pdxruby.org/HowtoChangeTheContentType.html

Excellent.

Thanks Adam!


Matt C. Wagner
Information Security Analyst

Network Intrusion Detection
Security Operations Center
Corporate Information Security
Wells Fargo Bank