activegraph

https://github.com/neo4jrb/activegraph

Ruby

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

Neo4j::Shared::Persistence#props_for_create

Returns a hash containing:
* All properties and values for insertion in the database
* A `uuid` (or equivalent) key and value
* Timestamps, if the class is set to include them.
Note that the UUID is added to the hash but is not set on the node.
The timestamps, by comparison, are set on the node prior to addition in this hash.

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--Shared--Persistence-props_for_create-for-pr


# Commit to git

git add git commit -m "better docs for Neo4j::Shared::Persistence#props_for_create"


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

hub pull-request


# Celebrate!