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!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

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

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Today

Ruby Conference MY 2018

Dropping by to promote Ruby Conference MY 2018 happening on Oct 25 and 26 in Kuala Lumpur, Malaysia. Early bird tickets are only available until end of this month. Grab the tickets before it runs out! Remember to check out our great line up of speakers and buy the ticket! https://rubyconf.my/

csvrecord - read in comma-separated values (csv) records with typed structs / schemas

Hello, I’ve put together a new library / gem, that is, csvrecord - that lets you read in comma-separated values (csv) records with typed structs / schemas e.g. use beers = Beer.read( 'beer.csv' ).to_a; beers[0].brewery instead of rows = CSV.read( 'beer.csv', headers: true ); rows[0]['Brewery'] and so on. Why care about CSV? It’s the world’s most popular tabular data interchange format in text :-). Happy data / text wrangling with ruby. Cheers. Prost. PS: For some getting started .csv datafiles, see the /football.csv collection (incl. English Premier League, Bundesliga, Seria A, Ligue 1, European Cup, etc.).

Proc vs Lambda

lambdas are strict on argument number. If the call doesn’t respect the exact number of arguments then an ArgumentError is raised… SEE MORE

csvutils - tools & scripts for working w/ comma-separated values (csv) datafiles

Hello, I’ve put together a new library / gem, that is, csvutils - a collection of tools ‘n’ scripts for working with comma-separated values (csv) datafiles - the world’s most popular tabular data interchange format in text :-). Command-line tools include: csvhead, csvheader, csvstat, csvsplit, csvcut and more. It’s just a start. Happy data / text wrangling with ruby. Cheers. Prost. PS: For some getting started .csv datafiles, see the /football.csv collection (incl. English Premier League, Bundesliga, Seria A, Ligue 1, European Cup, etc.).

Loading older posts