Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Scott McCormack's Profile

GitHub User: flintinatux

Comments by Scott McCormack

Avatar

This is perfect. I needed to export some data as CSV, and all the previous go-by's I had seen built the CSV content in the controller. Yucky! This moves it out to the view template where it should be, and frees you up to make the respond_to handler look nice and pretty. Good work!