elado/neoid — Issue #3: Delete relationship issue
Author: sawilde
Created: 2012-02-25 21:32:06+00:00
State: open

I am experimenting with neo4j 1.6 using neoid.

I have created a simple User (node) + Follows (relationship) model (I mean who doesn't :))

When I create a relationship between two User entities I see the relationship appear in neo4j and in my RBDMS (postgresql), however when I delete that relationship I am not seeing the relationship be removed in neo4j even though it has been removed from the RBDMS.

I checked the ActiveRecord after_destroy callback tree and I can see the neo_destroy method is there.

I am updating my relationships using the following

user.friends = (user.friends - old_ids)
user.friends = (user.friends + new_ids)
user.save

so I am not calling .destroy directly but would assume it was implicit