Skip to content
Neo4j.rb example rails application
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app Made it work with neo4j 2.2.0
config
db Updated example to use new neo4j 1.0.0.beta.1
doc
lib/tasks Updated example to use new neo4j 1.0.0.beta.1
public Roles are now displayed on the Actors#show and Movies#show pages.
script Updated example, using neo4j.rb 1.0.0.beta.7
test
vendor/plugins
.gitignore
Gemfile Made it work with neo4j 2.2.0
Gemfile.lock Made it work with neo4j 2.2.0
README.rdoc Made it work with neo4j 2.2.0
Rakefile Updated example, using neo4j.rb 1.0.0.beta.7
config.ru

README.rdoc

About

Neo4j is an open source graph database, which is available to Ruby through the Neo4j.rb gem.

Neo4j::Rails::Model object implement most ActiveModel features, making it easy to integrate Neo4j into a Rails application.

Documentation

Documentation for Neo4j.rb.

To Run

rvm use jruby-1.6.7

bundle install

rails s

open browser at localhost:3000

neo4j-admin

Notice that the neo4j-admin gem is included, which make it possible to visualize the graph database.

Open a browser localhost:7474

Notice that the neo4j-admin gem does not work with JRuby 1.7, see github.com/andreasronge/neo4j-admin/issues/8

Something went wrong with that request. Please try again.