neo4j 1.0.0.beta.10 → 1.0.0.beta.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -132,7 +132,8 @@ class Neo4j::Model
132
132
  end
133
133
 
134
134
  # Check if we want to destroy not found nodes (e.g. {..., :_destroy => '1' } ?
135
- destroy = attr[:_destroy]
135
+ destroy = attr[:_destroy] && attr[:_destroy] != '0'
136
+
136
137
  if found
137
138
  if destroy
138
139
  found.destroy if allow_destroy
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "1.0.0.beta.10"
2
+ VERSION = "1.0.0.beta.11"
3
3
  end
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 0
8
8
  - 0
9
9
  - beta
10
- - 10
11
- version: 1.0.0.beta.10
10
+ - 11
11
+ version: 1.0.0.beta.11
12
12
  platform: ruby
13
13
  authors:
14
14
  - Andreas Ronge