How do I import a CSV file into an SQLite database with the sqlite3 gem for Ruby?

Parse CSV with the csv lib, then just insert it like normal.

I don't believe import/export of data via CSV is something that is done via the sqlite3 gem itself. You get data into/out of Ruby objects via a CSV library, and then it's just a matter of reading/writing the data to the DB via ActiveRecord, or whatever ORM it is that you're using.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions