From e565ecc13c38f15404888859f4d9dc8309a05707 Mon Sep 17 00:00:00 2001 From: Max De Marzi Date: Thu, 23 Jan 2014 17:49:34 -0600 Subject: [PATCH] fix rollbacks --- lib/neography/rest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neography/rest.rb b/lib/neography/rest.rb index a10b974..05da35c 100644 --- a/lib/neography/rest.rb +++ b/lib/neography/rest.rb @@ -144,7 +144,7 @@ def commit_transaction(tx, statements=[]) end def rollback_transaction(tx) - @transactions.add(tx) + @transactions.rollback(tx) end # nodes