lib/neo4j/rails/model.rb in neo4j-1.0.0.beta.12 vs lib/neo4j/rails/model.rb in neo4j-1.0.0.beta.13
- old
+ new
@@ -135,10 +135,9 @@
end
# Check if we want to destroy not found nodes (e.g. {..., :_destroy => '1' } ?
destroy = attr[:_destroy] && attr[:_destroy] != '0'
- puts "FOUND #{found}"
if found
if destroy
found.destroy if allow_destroy
else
found.update_attributes_in_tx(attr) # it already exist, so update that one