Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Integrate neo4j and will_paginate

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 neo4j-will_paginate.gemspec
README.md

Integration for Neo4j.rb and will_paginate

This gem is just a simple integration of will_paginate and neo4j. Build Status

Installation

  1. Add neo4j-will_paginate to your Gemfile.
  2. require 'neo4j-will_paginate' somewhere from your code.

Using

Please see the will_paginate and neo4j.rb for details.

But here is simple example:

# Probably in the Rails controller:

def index
  @people = Person.all.paginate(:page => 2, :per_page => 20) # :per_page is optional
end

# Then in the view:
paginate @people

License

MIT by Dmytrii Nagirniak and Andreas Ronge

Something went wrong with that request. Please try again.