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.


Skins, minimal styles for Rails scaffolds

Skins is a small Rails plugin that adds a thin layer of style to your app. In short, is just a stylesheet and free fonts. No need to change your HTML, nor add extra markup. Check the code on github.

Micro library for initialize variables

Ocioso is a gem for lazily initialize variables of your ruby objects, also you can define your defaults values and allow certain variables, hope you enjoy it!

Pair Up!

A gem that allows two people to receive attribution when pair programming. It sets one user as the author and the other as the committer. It allows for easy switching and supports OSX gui applications like SourceTree. Checkout pair-up!

Exploring new methods in Ruby 2.2.0

For those late to the Ruby 2.2.0 party like me, the core team introduced couple of new methods. Read on to discover these new methods and see how to use them in your everyday job.

football.db - New max.rb Datafile - 1000+ Teams, 10 000+ Matches, 100+ Leagues

Hello, The new max.rb Datafile lets you build a football.db with all open football data repos from GitHub w/ a single command that will 1) dowload all datasets (as zip archives), 2) create the SQLite database (and schema) and 3) read-in all datasets (from the zip archives), that is, try: $ sportdb new max. If all works - check w/ $ sportdb stats - and you will get: 100 leagues / 56 seasons; 77 events (league+season recs) / 1470 rounds / 133 groups; 1206 teams; 11001 games; 242 assocs orgs; 200 grounds stadiums and so on. All datasets and tooling public domain. Cheers.

Search Filters and Object Oriented Design

Search filters are a very common feature in any application. I’ve used two gems for several projects I worked on: has_scope and searchlight. Both gems works out of the box, but they are not as flexible as I would like them to be and that’s why I decided to create my own gem, Lupa. Keep Reading

How To Write "Macros" in Ruby

In Rails you use class-level declarations such as has_many, belongs_to, and other so-called “macros” all the time, but do you know how they work? In this short video tutorial we recreate a simplified version of the has_many declaration from scratch so you understand how to apply this same powerful technique in your own Ruby code!

Loading older posts