Changeset [ec6401924e14cb4f06c7495ab2bcfbed3cdf2407] by Andreas Ronge

April 23rd, 2012 @ 02:00 PM

Fix for "Save callbacks fire once for every outging has_one node" closes #172

The write performance will probably be increase since the size of the call stack has been decrease a lot since we are avoiding saving nodes twice.
This might also be a solution for issue #166

Committed by Andreas Ronge

  • A spec/regressions/issue_172_spec.rb
  • M lib/neo4j/rails/persistence.rb
  • M lib/neo4j/rails/relationship_persistence.rb
  • M spec/integration/versioning/versioning_spec.rb
  • M spec/unit/has_n_spec.rb
  • M spec/unit/has_one_spec.rb
  • M spec/unit/relationships_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Neo4j.rb is a graph database framework for JRuby.

It provides:

* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails