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.

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!

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.

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!

sig: Another type checking gem for Ruby

The sig gem simplifies checking for proper “types” of method arguments and results. This is not static typing, but convenience when you need to ensure a specific object behavior.

I would recommend you to try to make it a decorator (instead of having the meth…
This is super awesome. I had no idea you could pass method declarations as argu…
Loading older posts