Displaying 1 result from an estimated 1 matches for "howtochangethecontenttype".
2006 Jan 11
6
Output non-HTML (CSV) from Rails
Hi,
I want to offer a CSV download of data in my Rails app (eg. An "Export
to Excel" link to grab the current view of tabulated data).
However, I can''t seem to break-out of the Rails framework to output this
non-HTML data. Even if I eliminate my layout template from my view, the
most basic view (no HTML) will still wrap the output in