Skip to content

Commit

Permalink
No need to use the start node for delete
Browse files Browse the repository at this point in the history
  • Loading branch information
yossale committed Nov 12, 2014
1 parent f29dce4 commit 0488a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neography/relationship.rb
Expand Up @@ -54,7 +54,7 @@ def neo_server=(server)
end

def del
start_node.neo_server.delete_relationship(neo_id)
neo_server.delete_relationship(neo_id)
end

def exist?
Expand Down

0 comments on commit 0488a55

Please sign in to comment.