What happens when you inspect the csv inside that block?
Like this:
puts csv.inspect, csv.length

-- 
Posted via http://www.ruby-forum.com/.