Ruby on Rails #89 export to CSV (different approaches)

28/07/2022 (over 1 year ago)

Explore different ways of exporting data from a Ruby on Rails database to CSV.

First we will create flexible custom templates for generating CSV data in a specific way we want to display it.

Next, will create a generator that downloads a whole database table as CSV.

Each approach is good, depending on your specific situation.

Episode source code:
Text version:

Sign in to join the conversation