activegraph
https://github.com/neo4jrb/activegraph
Ruby
An active model wrapper for the Neo4j Graph Database for Ruby.
Neo4j::ActiveNode::Query::QueryProxyMethods#find_or_create_by
When called, this method returns a single node that satisfies the match specified in the params hash. If no existing node is found to satisfy the match, one is created or associated as expected.
Edit
git clone [email protected]:neo4jrb/activegraph.git
cd activegraph
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Neo4j--ActiveNode--Query--QueryProxyMethods-find_or_create_by-for-pr
# Commit to gitgit add git commit -m "better docs for Neo4j::ActiveNode::Query::QueryProxyMethods#find_or_create_by"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Neo4j--ActiveNode--Query--QueryProxyMethods-find_or_create_by-for-pr
hub pull-request
# Celebrate!