
Using custom accessors for NodeMixin#update
Reported by Andreas Ronge | March 7th, 2010 @ 07:07 AM | in 0.4.1
The NodeMixin#update method should use the value of the accessor
and setters.
(This is how the indexer works - the indexer and the update method
must use the same value)
class Project
include Neo4j::NodeMixin
def foo=(settings)
# do stuff
end
def foo
# do stuff
end
end
project.update({:foo => 'hi'})
When calling project.update(a hash) it should call your own accessor/setter (the foo method above).
Comments and changes to this ticket
-
Andreas Ronge March 7th, 2010 @ 07:41 AM
- State changed from open to resolved
(from [513ce305efab3fb279e700da9deb2270ef6f8762]) Bug fix: Using custom accessors for NodeMixin#update [#113 state:resolved] http://github.com/andreasronge/neo4j/commit/513ce305efab3fb279e700d...
-
Andreas Ronge December 28th, 2011 @ 11:02 PM
- Milestone order changed from 0 to 0
(from [ade6b0edd2d3afa65e8df971825df54a836003ee]) Merge pull request #114 from declan/master
Updated the Configuration section of the README, closes #113
https://github.com/andreasronge/neo4j/commit/ade6b0edd2d3afa65e8df9...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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
People watching this ticket
Referenced by
-
113 Using custom accessors for NodeMixin#update (from [513ce305efab3fb279e700da9deb2270ef6f8762]) Bug fix...