maxdemarzi/neography — Issue #18: Need to assign twice a new property of a Node
Author: elado
Created: 2011-12-31 01:17:22+00:00
State: open

Only on the second `node.property = "value"` it write the value.
Doesn't work with `node[:property]` at all. Running w/ latest git code.

```
> n = Node.create(name: "Test") # => #
> n.prop = 1 # => 1
> n.prop # => *** nil ***: First time, value still nil
> n.prop = 1 # => 1
> n.prop # => 1: Second time, value written
> n[:prop] # => 1
> n[:prop2] = 2 # => 2
> n[:prop2] # => *** nil ***
> n[:prop2] = 2 # => 2
> n[:prop2] # => *** nil ***
> n.name # => "Test"
> n.name = "New Name" # => "New Name"
> n.name # => "New Name" (That's an existing property, it works)
```