lib/neo4j/node.rb in neo4j-1.0.0.beta.18 vs lib/neo4j/node.rb in neo4j-1.0.0.beta.19

- old
+ new

@@ -94,10 +94,10 @@ # a db instance can be given, is the first argument if that was not a hash, or otherwise the second db = (!props && args[0]) || args[1] || Neo4j.started_db node = db.graph.create_node - props.each_pair { |k, v| node.set_property(k.to_s, v) } if props + props.each_pair { |k, v| node[k]= v } if props node end # create is the same as new alias_method :create, :new