#88 Import CSV and parse it within a Rails app
25/07/2022
In this episode we will import a custom CSV into a Rails app.
We will also map columns from the CSV, so that they fit our database.
To conclude, we will extract the business logic from the Controller to a Service.
Episode Source Code: https://github.com/corsego/88-csv-import/commit/6a6a43687ca5c967e32f3f1772d70f4d480a51ea
Text version: https://blog.corsego.com/import-csv-to-rails-database
Ruby CSV class: https://ruby-doc.org/stdlib-2.6.1/libdoc/csv/rdoc/CSV.html
0
Sign in to join the conversation