mislav/will_paginate — pull request #264 by daveheitzman (2012-09-05 02:46:14+00:00)
Title: puts in a bisection link

created a patch for will_paginate that adds bisection links into the list of page numbers:

instead of
1 2 3 4 5 .. 1000, you'd get 1 2 3 4 5 .. 500 .. 1000

A person can use it by putting a key in the options, like
will_paginate @the_objects, :bisect=>true

If you'd like to pull it into the main repo let me know, otherwise I can just issue it as a separate gem that plugs into will_paginate.

git@github.com:daveheitzman/will_paginate.git

Thanks,
David Heitzman