Using a Graph Database with Ruby. Part 1: Introduction and Using a Graph Database with Ruby. Part 2: Integration by Thiago Jackiw.
From the introduction to Part 2:
In the first article, we learned about graph databases, their differences and advantages over traditional databases, and about Neo4j. In this article, we are going to install Neo4j, integrate and evaluate the gems listed in the first part of this series.
The scenario that we are going to be working with is the continuation of the simple idea in the first article, a social networking example that is capable of producing traversal queries such as “given the fact that Bob is my friend, give me all friends that are friend’s of friend’s of friend’s of Bob”.
You may want to skip the first part if you are already familiar enough with Neo4j or graphs to want to use them. 😉
The second part walks you through creation of enough data to demonstrate traversals and some of the capabilities of Neo4j.
I first saw this in a tweet by Glenn Goodrich.