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!

Why the CSV standard library is broken (Part III) - CSV Record as Array? Hash? etc.

Hello, I’ve written a new (and third) episode on why the CSV standard library is broken, broken, broken (and how to fix it). Let’s have a look at how to handle csv records - How about returning an array? hash? struct? row? etc. Or how about adding new “low-level” parsers for supporting more dialects and formats or for faster code with c-extensions? Questions and comments welcome. Cheers. Prost. PS: If you want to see other (more) CSV formats / dialects pre-configured and supported “out-of-the-box” in the new csv reader, please tell. PPS: Why care about CSV? Did you know - data is the new gold :-) and CSV is the world’s most popular (No. 1) data format.

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