Posts Tagged csv

  • Download a large amount of data in CSV from Rails - June 3rd, 2009

    I’ve just had to re-write an export script because the application now needed to be able to download 14000 records in CSV format.
    Originally I was reading all the records (with multiple joins) and then creating a csv string and then writing it to the response using send_data.
    The original code
    This is a simplified version of my [...]