Skip to content

Instantly share code, notes, and snippets.

@tjackiw
Created December 18, 2012 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjackiw/4333239 to your computer and use it in GitHub Desktop.
Save tjackiw/4333239 to your computer and use it in GitHub Desktop.
Using a Graph Database with Ruby. Part II: Integration
me = User.first
andy = User.last
me.all_friends_to(andy)
=> "Me => Bob => Mark => Mary => John => Andy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment