On Mon, Oct 25, 2010 at 4:50 PM, Leslie Viljoen <leslieviljoen / gmail.com> wrote:
> The FasterCSV gem is an excellent way to read and write CSV files and
> it deals with these sorts of problems: http://fastercsv.rubyforge.org

It's also been moved into Ruby's core API with 1.9 (require "csv").
Docs are here: http://ruby-doc.org/ruby-1.9/classes/CSV.html

P.S.: This makes a good case why frames are Evil, too. ;)

-- 
Phillip Gawlowski

Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.