On Jun 23, 2010, at 8:56 AM, Pale Horse wrote:

CSV:

http://pastie.org/1015772

Controller:

http://pastie.org/1015773

Why is it that it's only saving the record for "EFG5"? I'm obviously
missing something.

The call to .save the model is outside of the loop.

You should indicate which version of ruby you're using as the implementation of CSV changed between 1.8 and 1.9 (the former FasterCSV replaced the old CSV in the standard library for 1.9 and assumed the shorter name).

-Rob

Rob Biedenharn
http://agileconsultingllc.com
        [email protected]
http://gaslightsoftware.com
        [email protected]



--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to