Skip to content

Commit

Permalink
Update documentation and reference to sinatra 0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Jul 27, 2009
1 parent 9607a3d commit 8d1884a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.rdoc
Expand Up @@ -228,7 +228,8 @@ a transaction.

=== Dynamic Properties
Notice that it is not required to specify which attributes should be available on a node. Any attributes can be
set using the [] operator.
set using the [] operator. Declared properties set an expectation, not an requirement. It can be used for documenting your model objects and
catching typos.

Example:

Expand Down Expand Up @@ -1420,7 +1421,7 @@ It has only been tested to work with a very simple node space.

There is an REST extension to Neo4j.rb.
It requires the following gems
* Sinatra > 0.9.2 (I can only get the example.rb running by building from the latest from github).
* Sinatra >= 0.9.4
* Rack >= 1.0
* json-jruby >= 1.1.6

Expand Down Expand Up @@ -1457,7 +1458,7 @@ Config rails to use Neo4j.rb instead of ActiveRecord, edit movies/config/environ
environment.rb:

config.frameworks -= [ :active_record ] #, :active_resource, :action_mailer ]
config.gem "neo4j", :version => "0.3.0" # or the latest one
config.gem "neo4j", :version => "0.3.1" # or the latest one

If you need to reindex all nodes or use the Neo4j::NodeMixin#all method you must require the
reindexer neo4j.rb extension. Add a require in the environment.rb file:
Expand Down

0 comments on commit 8d1884a

Please sign in to comment.