A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neo4jrb/neo4j/wiki/Neo4j::Rails-Introduction below:

Neo4j::Rails Introduction · neo4jrb/activegraph Wiki · GitHub

API

The neo4j gem contains two Rails Active Model compliant classes:

They also implement a small subset of the Active Record API. The neo4j gem uses the neo4j-core, neo4j-wrapper and the neo4j-cypher gems.

Links Content Generate a Rails Application

Example of creating a Neo4j Application from scratch: (make sure you have installed JRuby version >= 1.6.2)

 gem install rails
 rails new myapp -m http://neo4jrb.github.com/neo4j/rails.rb -O
 cd myapp
 bundle
 rails generate scaffold User name:string email:string
 rails s
 open a webbrowser: http://localhost:3000/users

The -O flag above means that it will skip active record.

See Neo4j::Rails-Config for how to use rails console with write support.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4