I’m a newbie with Ruby on Rails. So far, 3 weeks and counting. I’m
really a PHP guy with a department that changed its development
platform. But enough of the chit chat.
My project consists of a “Project” database and periodic imports (new
data) to the database. This import file will be a .csv file and it’ll be
necessary to compare the entire database for similar titles and project
managers and then import the new data to the database. (Nice project for
a newbie, uh?)
I’ve set up the initial projects database including new, edit, show,
I’ve also created an additional “import” model/view/controller. I’ve
also installed “fasterCSV” and “attachment_fu”.
I’ve read a couple “Upload” examples but they were mainly about
uploading images. I really need an example about uploading and reading
files to database.
What I’m thinking is I upload the csv data to a temporary hash then send
it to a grid for display. My supervisor wants a side by side comparison
of the csv and the current database.
Any help will be greatly appreciated.