neo4j 0 rspec rubocop travis-ci ruby Rubygems

An active model wrapper for the Neo4j Graph Database for Ruby.

Welcome to Neo4j.rb

Note on legacy version

This gem is identical to the official neo4j gem except that it has additional backports to enable it to work with Rails 3.2. You should use the canonical gem if you are using Rails 4+.

Code Status

Build Status Coverage Status Code Climate PullReview stats

Issues

Next Release In Progress In Master

Post an issue

Get Support

Documentation

All new documentation will be done via our readthedocs site, though some old documentation has yet to be moved from our wiki (also there is the neo4j-core wiki)

Contact Us

StackOverflow Gitter Twitter

Introduction

Neo4j.rb is an Active Model compliant Ruby/JRuby wrapper for the Neo4j graph database. It uses the neo4j-core and active_attr gems.

Neo4j is a transactional, open-source graph database. A graph database manages data in a connected data structure, capable of representing any kind of data in a very accessible way. Information is stored in nodes and relationships connecting them, both of which can have arbitrary properties. To learn more visit What is a Graph Database?

With this gem you not only do you get a convenient higher level wrapper around Neo4j, but you have access to a powerful high-level query building interface which lets you take advantage of the power of Neo4j like this:

# Break down the top countries where friends' favorite beers come from
person.friends.favorite_beers.country_of_origin(:country).
  order('count(country) DESC').
  pluck(:country, count: 'count(country)')

It can be installed in your Gemfile with a simple gem 'neo4j'

For a general overview see our website: http://neo4jrb.io/

Winner of a 2014 Graphie for “Best Community Contribution” at Neo4j’s Graph Connect conference! 2014 Graphie

Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined here and in the announcement message. It will take a little time before all documentation is updated to reflect the new release but unless otherwise noted, all 3.X documentation is totally valid for v4.

Neo4j version support

Neo4j Version v2.x v3.x >= v4.x
1.9.x Yes No No
2.0.x No Yes No
2.1.x No Yes Yes *
2.2.x No No Yes
2.3.x No No Yes

* Neo4j.rb >= 4.x doesn’t support Neo4j versions before 2.1.5. To use 2.1.x you should upgrade to a version >= 2.1.5

Neo4j feature support

Neo4j Feature v2.x v3.x >= v4.x
Auth No No Yes
Remote Cypher Yes Yes Yes
Transactions Yes Yes Yes
High Availability No Yes Yes
Embedded JVM support Yes Yes Yes

Modern (3.x/4.X) Documentation

Legacy (2.x) Documentation

Developers

Original Author

Current Maintainers

Contributing

Always welcome! Please review the guidelines for contributing to this repository.

License

Notice: There are different licenses for the neo4j-community, neo4j-advanced, and neo4j-enterprise jar gems. Only the neo4j-community gem is required by default.

Related Repositories

neo4j

neo4j

An active model wrapper for the Neo4j Graph Database for Ruby. ...

node-neo4j

node-neo4j

Neo4j graph database driver (REST API client) for Node.js ...

spring-data-neo4j

spring-data-neo4j

Provides support to increase developer productivity in Java when using the neo4j graph database. Uses familiar Spring concepts such as a template classes for core API usage and provides an annotation based programming model using AspectJ ...

neo4j-rest-client

neo4j-rest-client

Object-oriented Python library to interact with Neo4j standalone REST server ...

neo4j-apoc-procedures

neo4j-apoc-procedures

Awesome procedures for Neo4j 3.0 - codenamed "apoc"                                                  If you like it, please ★ above ⇧             ...


Top Contributors

cheerfulstoic andreasronge subvertallchris vivekprahlad dnagir benjackson ProGM endeepak leviwilson dpisarewski brucek olance dominicsayers jacobwgillespie rebecca-eakins joeleaver ujjwalt junegunn wintersolutions flybayer jessmartin jmdeldin michaeldelorenzo bloomdido jneen koic andersjanmyr thirdreplicator saterus karabijavad

Releases

-   v8.0.0.alpha.5 zip tar
-   v8.0.0.alpha.4 zip tar
-   v8.0.0.alpha.2 zip tar
-   v8.0.0.alpha.1 zip tar
-   v7.2.0.2 zip tar
-   v7.2.0.1 zip tar
-   v7.2.0 zip tar
-   v7.1.3 zip tar
-   v7.1.2 zip tar
-   v7.1.1 zip tar
-   v7.1.0 zip tar
-   v7.0.15 zip tar
-   v7.0.14 zip tar
-   v7.0.13 zip tar
-   v7.0.12 zip tar
-   v7.0.11 zip tar
-   v7.0.10 zip tar
-   v7.0.9 zip tar
-   v7.0.8 zip tar
-   v7.0.7 zip tar
-   v7.0.6 zip tar
-   v7.0.5 zip tar
-   v7.0.4 zip tar
-   v7.0.3 zip tar
-   v7.0.2 zip tar
-   v7.0.1 zip tar
-   v7.0.0 zip tar
-   v7.0.0.rc.7 zip tar
-   v7.0.0.rc.6 zip tar
-   v7.0.0.rc.5 zip tar