Project

General

Profile

Actions

Bug #9661

closed

CSV Header Conversion Causes NoMethodError For Empty Headers

Added by sshaw (s shaw) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-darwin12.4.0]
[ruby-core:61630]

Description

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

Updated by hsbt (Hiroshi SHIBATA) about 8 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF