Issue #9661 has been updated by Hiroshi SHIBATA.

Status changed from Open to Closed

https://github.com/ruby/ruby/pull/575 is already closed.

----------------------------------------
Bug #9661: CSV Header Conversion Causes NoMethodError For Empty Headers
https://bugs.ruby-lang.org/issues/9661#change-46449

* Author: s shaw
* Status: Closed
* 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/