teeparham/loady

Loady doesn't handle columns with newlines

scottjacobsen opened this issue · 1 comments

Because loady reads lines using the IO#each function here it doesn't read a full CSV row if any of the columns contain a newline.

It would be better to use CSV.foreach to loop over the rows. The CSV library reads a full row even when there are newlines in the middle of a row.

Fixed by bcdd331