http://github.com/sparkboxx/csv-importer Ever needed to import csv files where every row needs to be converted into a model? The CSV importer turns every row of a CSV file into an object. Each column is matched and tested against a given class. You can provide a dictionary with translations between the CSV column names and the object properties.
Gemfile gem 'csv_importer', '~> 0.0.2'
install gem install csv_importer -v 0.0.2