andreasronge/neo4j — pull request #132 by dnagir (2012-01-16 00:06:54+00:00)
Title: No will paginate

This is really a "request for help" and a discussion kind of PR for #129.

I've removed the will_paginate in favour of external pagination gems that can use new `Neo4j::Paginated` class.

But there are 7 failing specs that I need help with.

I think they fail because I incorrectly pass through the search args from `Neo4j::Paginate::ClassMethods.paginate` to `Neo4j::Model.find` which leads to 0 results being returned.

There may be things that I do completely wrong here, but I feel I'm no the right track.

If we'll pass these specs, we can then implement the support for will_paginate (and maybe kaminari).

We'll also need to deprectate any `paginate` methods as their signature is very specific to will_paginate.

Instead the external gem should add the pagination methods based on the existing `Neo4j::Paginated` class.