Skip to content

Commit

Permalink
Fixed RSpec issue on JRuby 1.7.x closes #217
Browse files Browse the repository at this point in the history
This requires the latest neo4j-core (unreleased)
  • Loading branch information
andreasronge committed Sep 26, 2012
1 parent c8e120b commit 0104e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
@@ -1,4 +1,4 @@

* Fixed RSpec issue on JRuby 1.7.x #217
* Aliased has_many to has_n, #183

== 2.2.0.rc1 / 2012-09-21
Expand Down
4 changes: 3 additions & 1 deletion lib/neo4j/rails/persistence.rb
Expand Up @@ -160,11 +160,13 @@ def create_or_update
else
true
end
rescue => e
Neo4j::Rails::Transaction.fail if Neo4j::Rails::Transaction.running?
raise e
ensure
@_create_or_updating = nil
end


def set_deleted_properties
@_deleted = true
end
Expand Down

0 comments on commit 0104e3b

Please sign in to comment.