Changeset [129b5d7a98548a099caeacd261dcfa2a4dc9e02a] by Andreas Ronge

August 27th, 2014 @ 10:31 AM

Use the Class.name function to set the label name instead of Class.to_s, closes #408

Make it also work with anonymous classes, use the object_id if the class.name is nil
This was needed to get the neo4j-devise test working
https://github.com/andreasronge/neo4j/commit/129b5d7a98548a099caeac...

Committed by Andreas Ronge

  • M lib/neo4j/active_node/labels.rb
  • M spec/unit/labels_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