Catch Ruby errors before your users do. Monitor Ruby production errors in real-time and debug them in minutes, before users notice. Our open source Ruby SDK works with Rails, Sinatra, and more. Use this link and get one month free!

RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

csvreader v1.0 - read comma-separated values (csv) the right way (incl. hash, ...)

Hello, I’ve uploaded version 1.0 of the new comma-separated values csvreader library / gem that lets you read tabular data in the comma-separated values (csv) format the right way :-), that is, the basic methods such as Csv.read or CsvHash.read use best practices out-of-the-box with zero-configuration. Under the hood the new library includes purpose-built “backend” parsers (e.g. ParserStd, ParserStrict, ParserTab, etc.) so you can handle all the popular comma-separated values (csv) formats / dialects such as MySQL (use Csv.mysql.read) or PostgreSQL (use Csv.postgres.read) exports and more using unix-style escapes and \N or unquoted empty values for null/nil and so on. Data is the new gold :-) Happy data / gold mining with the new csvreader library / gem (in ruby). Cheers. Prost. PS: What’s wrong (broken) in the standard csv library? See the let’s count the ways article series.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in