neo4jrb/neo4j-core — pull request #147 by subvertallchris (2014-12-25 23:30:42+00:00)
Title: fix n + 1 node creation, use params in create_rel

All node creations required two queries: one to create the node and return the new ID, the other to get the labels and properties of the node, even though this information was already known to the method in order to create the node in the first place. This instantiates the new CypherNode using this information it already has.