From: Brian Candler Date: 2012-05-30T21:02:35+09:00 Subject: Re: faster CSV writing What *exactly* do you see from these two lines? (Copy-paste it please. You can XXX out the names and phone numbers but please don't change anything else) >> puts "bname=#{bname.inspect}" >> puts "phone=#{phone.inspect}" The reason: I'm guessing that bname and phone may be arrays, not single strings. Is that the case? If so you can iterate over the arrays when writing the CSV. -- Posted via http://www.ruby-forum.com/.