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.

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.).

Dependency Injection Containers vs Hard-coded Constants

Dependency injection (DI) is a somewhat contentious topic in the Ruby community. Some argue that DI containers are unnecessary complexity cargo-culted from Java. Some argue that DI is the path to cleaner, simpler, more-testable code. In this article, I want to compare and contrast two approaches: hard-coded constants versus using a DI container. The difference might not be as big as you think!

csvpack - Work with tabular data packages (download, read into sql db, query, ...)

Hello, I’ve updated the csvpack (†) library / gem that let’s you work with tabular data packages in ruby. Download comma-separated values (CSV) datafiles in text - also known as tabular datafiles and read into any sql database (e.g. SQLite, PostgreSQL,…), query w/ ActiveRecord and more. Cheers. Prost. PS: You can find 100+ (starter) tabular data packages at the /datasets github org (thanks to the DataHub.io folks). (†): formerly known as datapak

[Podcast] Ruby Rogues - Understanding Your Production Apps with Jared Norman

In this episode of Ruby Rogues, the panel talks to Jared Norman about understanding your production apps. Jared has been programming since he was about 10 years old and for the past 7 years, he has been doing Ruby. These days, he runs a consultancy company called Super Good Software doing Ruby on Rails stuff and mostly eCommerce. They talk about his article You Can’t Save Everyone: Some Exceptions Should Be Left Alone, when capturing exceptions is the right way to go, developing with good visibility in mind, and more! [more inside]

Loading older posts