Hey guys,

A user would like to download a table dump as a CSV, what's the best
way to do this?

ActionController has send_data:

http://api.rubyonrails.org/classes/ActionController/Streaming.html

Is there something similar built into Camping?

If not, is there a way to override the response headers of a
controller to declare the response as something other than HTML (so
the csv isn't displayed in the browser)?

-- 
Dave
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to