From: James Edward Gray II Date: 2010-12-03T02:54:40+09:00 Subject: Re: FasterCSV parsing issues On Dec 2, 2010, at 11:48 AM, Jeremy Woertink wrote: > I've upgraded to Ruby 1.9.2 now, but I'm still running into weird > issues. How come I can only parse a file once? For the same reason you could only read from an IO object once: it's tracking your position. You're not at the end. However, you could "rewind" it: csv = CSV.open(File.join(Rails.root, 'public', 'sample.csv')) csv.each { |row| … } csv.rewind csv.each { |row| … } Hope that helps. James Edward Gray II