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.


All About Methods

A more advanced, and yet accessible look at methods in Ruby and the nuance that comes into play when defining methods on instances, singleton classes, classes, and modules. The secret: think of each as an instance method in the appropriate context. Read more…

SOLID Review: Liskov Substitution Principle

Barbara Liskov introduced her substitution principle back in 1987 during her keynote titled Data Abstraction and Heirarchy. Today, it is one of the five SOLID principles in object-oriented programming. “Instances of any type should be replaceable by instances of its subtypes without creating incorrect behaviors.” How can we ensure that our classes abide by the Liskov Substitution Principle? [more inside]

New Datafiles for Top Football Leagues (en,de,es,fr,it) - e.g. use $ sportdb new top

Hello, I’ve added some more datafiles that let you build your own football.db - using free open public domain datasets - with a single command e.g. $ sportdb new fr2014-15. The new datafiles include: de.rb and de2014-15.rb; es.rb and es2014-15.rb; it.rb and it2014-15.rb; fr.rb and fr2014-15.rb; at.rb and at2014-15.rb; top.rb and top2014-15.rb (includes top leagues e.g. en,de,es,fr,it). Cheers.

CanCan Overview

CanCan was originally introduced by Ryan Bates in 2009 and was taken over by Bryan Rite. It’s been a while since I’ve seen a post about it so I decided to do a write up on my opinion of it. See the details at Thoughts on CanCan

Loading older posts