By Neo4j Staff | December 10, 2008
Andreas Ronge just released version 0.0.7 of Neo4j.rb. See the project page for more information. Highlights from the changelog: added value object stuff to support Rails, made the neo4j engine start and stop automagically.
Neo4j.rb can now be used as a complement or replacement for ActiveRecord in Ruby on Rails. All what is needed is to add the neo4j gem in the rails config/environment.rb file.
Here is an example how to use a Neo4j.rb model in a rails controller:
# creates a empty value object from the node class:
@movie = Movie.value_object.new
@movie = Movie.new
# update the new movie node
# by using the request parameters
Share your Graph Story?
Email us: email@example.com
Have a Graph Question?
Reach out and connect with the Neo4j staff.Stackoverflow
Popular Graph Topics
- nosql (96)
- cypher (60)
- emil eifrem (60)
- graphconnect (50)
- release (38)
- community (37)
- graph visualization (33)
- facebook (31)
- Big Data (31)
- graph database (28)