0

I have multiple .csv files which I need to import to a sqlite database using active record as an ORM, but I need each of these .csv imported in a different table, while most of them have the same structure.

What is the best way to do this, and is there any efficient way to automate this process in Rails?

I would appreciate you opinions.

uklp
  • 551
  • 1
  • 6
  • 14
  • http://stackoverflow.com/questions/4410794/ruby-on-rails-import-data-from-a-csv-file?rq=1 –  May 03 '14 at 11:07
  • Graeme, thx for the suggestion, I saw that answer, but my question is a bit different, because I have multiple CSV files which I need to load into the same database, and not only one CSV file. Any idea for that? – uklp May 04 '14 at 09:38

0 Answers0