#89 export to CSV (different approaches)
28/07/2022
Free
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: https://github.com/corsego/89-csv-export/commit/608fa8f9a9960f14b5c7619c8ccfb3a95b94da35
Text version: https://blog.corsego.com/export-csv-from-rails-database
0
Sign in to join the conversation
Recommended based on what you are watching now
![#82 Chained Select Fields in a form. Gem City-State](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTg2NiwicHVyIjoiYmxvYl9pZCJ9fQ==--fba66d0d2eade2ce4ccd1de6987cc845e67e44e1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
22:56
#82 Chained Select Fields in a form. Gem City-State
02/06/2022
Free
![#1 Amanda Perino from Rails Foundation about Rails World](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTg1OCwicHVyIjoiYmxvYl9pZCJ9fQ==--256cbed41df880ac3c6b3c2bf43b1a5dcb0ab182/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
19:11
#1 Amanda Perino from Rails Foundation about Rails World
19/05/2023
Free