From: skye.shaw@... Date: 2014-03-22T00:42:24+00:00 Subject: [ruby-core:61630] [ruby-trunk - Bug #9661] [Open] CSV Header Conversion Causes NoMethodError For Empty Headers Issue #9661 has been reported by s shaw. ---------------------------------------- Bug #9661: CSV Header Conversion Causes NoMethodError For Empty Headers https://bugs.ruby-lang.org/issues/9661 * Author: s shaw * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-darwin12.4.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Empty headers are parsed and returned as nil. CSV's symbol and downcase header converters call encode() on nil, causing a NoMethodError. I've created a pull request with the fix: https://github.com/ruby/ruby/pull/575 -- https://bugs.ruby-lang.org/