I created the following:
n1 = Neography::Node.create n2 = Neography::Node.create new_rel = Neography::Relationship.create(:family, n1, n2)
My expectation is I should be able to list the relationships in n1 and from there return n2.
n1.outgoing from the documentation says I would # Get nodes related by outgoing relationships
n2 = n1.outgoing
n2.class
I expect the outcome to be a node.
Instead, I get #<Neography::NodeTraverser:
How do I get to the actual node 2?
I created the following:
n1 = Neography::Node.create n2 = Neography::Node.create new_rel = Neography::Relationship.create(:family, n1, n2)My expectation is I should be able to list the relationships in n1 and from there return n2.
n1.outgoingfrom the documentation says I would# Get nodes related by outgoing relationshipsn2 = n1.outgoingn2.classI expect the outcome to be a node.
Instead, I get
#<Neography::NodeTraverser:How do I get to the actual node 2?