activegraph

https://github.com/neo4jrb/activegraph

Ruby

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

Neo4j::ActiveNode::Persistence#cascade_save

The pending associations are cleared during the save process, so it's necessary to
build the processable hash before it begins. If there are nodes and associations that
need to be created after the node is saved, a new transaction is started.

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--Persistence-cascade_save-for-pr


# Commit to git

git add git commit -m "better docs for Neo4j::ActiveNode::Persistence#cascade_save"


# 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--Persistence-cascade_save-for-pr

hub pull-request


# Celebrate!