Is there a stone for matching and importing data into a rails web application from the web interface?

If you have ever imported a list of subscribers to MailChimp , you know exactly what I'm looking for.

  • The user downloads the .csv, .xls, .xlsx, .txt file.
  • The application maps column headings to the model.
  • The user can edit the mapped columns and select matches for those columns that do not automatically match.
  • The application checks and imports strings.
  • (Optional) the user is provided with an interface for correcting errors (for example, a string in a number field).
  • The application exports error strings so that the user can fix and re-import.

I am looking for a gem or textbook to give me a start, but have not had much success. It seems like a general requirement, there must be something there.

+8
import ruby-on-rails rubygems gem
source share
1 answer

Garden gem varieties that can point you in the right direction can be found in the Ruby Toolbox. The Conformist (current) and CSV Importer (receive date) are heading in the right direction.

+3
source share

All Articles