# Neo4r

Neo4r is an Active Model compliant Ruby wrapper for [the Neo4j graph database](http://neo4j.com/). It uses [the Neography](https://github.com/maxdemarzi/neography) gems.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'neo4r'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install neo4r

## Usage

```ruby
# Create class Inheriting Neo4r::Node
klass = Object.const_set("ClassName", Class.new(Neo4r::Node))

klass.count # => Get node count
klass.all # => Get all nodes
```

## Contributing

1. Fork it ( https://github.com/hiroponz/neo4r/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

# Neo4r

Neo4r is an Active Model compliant Ruby wrapper for [the Neo4j graph database](http://neo4j.com/). It uses [the Neography](https://github.com/maxdemarzi/neography) gems.


## Requirement

- ruby ~> 2.1
- neography ~> 1.6

## Neo4j version support

- 2.0.x
- 2.1.x

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'neo4r'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install neo4r

## Usage

```ruby
# Create class Inheriting Neo4r::Node
klass = Object.const_set("ClassName", Class.new(Neo4r::Node))

klass.count # => Get node count
klass.all # => Get all nodes
```

## Contributing

1. Fork it ( https://github.com/hiroponz/neo4r/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
Add Requirement and Neo4j version support section
Add Requirement and Neo4j version support section
