activegraph
https://github.com/neo4jrb/activegraph
Ruby
An active model wrapper for the Neo4j Graph Database for Ruby.
Neo4j::Shared::DeclaredProperties#attributes_nil_hash
During object wrap, a hash is needed that contains each declared property with a nil value. The active_attr dependency is capable of providing this but it is expensive and calculated on the fly each time it is called. Rather than rely on that, we build this progressively as properties are registered. When the node or rel is loaded, this is used as a template.
Edit
git clone [email protected]:neo4jrb/activegraph.git
cd activegraph
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Neo4j--Shared--DeclaredProperties-attributes_nil_hash-for-pr
# Commit to gitgit add git commit -m "better docs for Neo4j::Shared::DeclaredProperties#attributes_nil_hash"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Neo4j--Shared--DeclaredProperties-attributes_nil_hash-for-pr
hub pull-request
# Celebrate!