A nice little tutorial on creating a handler to deliver a CSV (Comma-Separated Value) file as an output view.

Handling CSV views in Ruby on Rails

What I did not see, and will have to investigate, is how the Content-Type header is set for delivery.


Source