activegraph
https://github.com/neo4jrb/activegraph
Ruby
An active model wrapper for the Neo4j Graph Database for Ruby.
Neo4j::ActiveNode::Query::QueryProxy#initialize
QueryProxy is ActiveNode's Cypher DSL. While the name might imply that it creates queries in a general sense, it is actually referring to <tt>Neo4j::Core::Query</tt>, which is a pure Ruby Cypher DSL provided by the <tt>neo4j-core</tt> gem. QueryProxy provides ActiveRecord-like methods for common patterns. When it's not handling CRUD for relationships and queries, it provides ActiveNode's association chaining (`student.lessons.teachers.where(age: 30).hobbies`) and enjoys long walks on the beach. It should not ever be necessary to instantiate a new QueryProxy object directly, it always happens as a result of calling a method that makes use of it. originated. <tt>has_many</tt>) that created this object. QueryProxy objects are evaluated lazily.
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--QueryProxy-initialize-for-pr
# Commit to gitgit add git commit -m "better docs for Neo4j::ActiveNode::Query::QueryProxy#initialize"
# 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--QueryProxy-initialize-for-pr
hub pull-request
# Celebrate!