Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

dnagir/neo4j-will_paginate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Integrate neo4j and will_paginate

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages