activegraph

https://github.com/neo4jrb/activegraph

Ruby

An active model wrapper for the Neo4j Graph Database for Ruby.

Neo4j::ActiveNode::Query::QueryProxyEnumerable#each_with_rel

When called at the end of a QueryProxy chain, it will return the nodes and relationships of the last link.
For example, to return a lesson and each relationship to a given student:

.. code-block:: ruby

  student.lessons.each_with_rel do |lesson, rel|

Source | Google | Stack overflow

Edit

git clone [email protected]:neo4jrb/activegraph.git

cd activegraph

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Neo4j--ActiveNode--Query--QueryProxyEnumerable-each_with_rel-for-pr


# Commit to git

git add git commit -m "better docs for Neo4j::ActiveNode::Query::QueryProxyEnumerable#each_with_rel"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Neo4j--ActiveNode--Query--QueryProxyEnumerable-each_with_rel-for-pr

hub pull-request


# Celebrate!