Looking at ActiveNode's persistence.rb
, it seems like there's no update()
or equivalent. How does one update the data of a particular node?
Asked
Active
Viewed 105 times
0

David Chouinard
- 6,466
- 8
- 43
- 61
1 Answers
1
update
comes from Neo4j::Shared::Persistence
, not ActiveNode. You can find it here.

subvertallchris
- 5,282
- 2
- 25
- 43
-
I'm getting `undefined method 'update'` when I call `update` on an ActiveNode object — what am I doing wrong? – David Chouinard Apr 17 '15 at 01:36
-
What is the full error? `undefined method 'update' for`... what kind of object? – subvertallchris Apr 19 '15 at 15:34
-
I was expecting `update` to be a static method and was calling it on the ActiveRel class, like ActiveRecord's interface. Now correctly calling it on the instance. All good, thank you! – David Chouinard Apr 20 '15 at 19:29