-
Notifications
You must be signed in to change notification settings - Fork 276
Neo4j::Rails Introduction
andreasronge edited this page Oct 2, 2012
·
9 revisions
The neo4j gem contains two Rails Active Model complient classes:
They also implements a small subset of the Active Record API.
The neo4j gem uses the neo4j-core
, neo4j-wrapper
and the neo4j-cypher
gems.
- Persistence and Callbacks
- Find using a Lucene index
- Relationships
- Third Party Gems
- Scaffolding & Generators
Example of creating an Neo4j Application from scratch: (make sure you have installed JRuby version >= 1.6.2)
gem install rails
rails new myapp -m http://andreasronge.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.
WARNING: Much of the information in this wiki is out of date. We are in the process of moving things to readthedocs
- Project Introduction
- Neo4j::ActiveNode
- Neo4j::ActiveRel
- Search and Scope
- Validation, Uniqueness, and Case Sensitivity
- Indexing VS Legacy Indexing
- Optimized Methods
- Inheritance
- Core: Nodes & Rels
- Introduction
- Persistence
- Find : Lucene
- Relationships
- Third Party Gems & extensions
- Scaffolding & Generators
- HA Cluster