lib/neo4j/active_node/has_n/nodes.rb in neo4j-3.0.0.alpha.3 vs lib/neo4j/active_node/has_n/nodes.rb in neo4j-3.0.0.alpha.4
- old
+ new
@@ -53,10 +53,10 @@
end
# Creates a relationship instance between this and the other node.
# Returns the relationship object
- def create(other, relationship_props)
+ def create(other, relationship_props = {})
@decl_rel.create_relationship_to(@node, other, relationship_props)
end
# Creates a relationship between this and the other node.
\ No newline at end of file