view .svn/pristine/8d/8d7fae9b6295abcc91d872594ff664db1efabeb4.svn-base @ 1227:eb168c1e9553 live

Show maximum of 10 colleagues
author Chris Cannam
date Tue, 12 Mar 2013 15:45:41 +0000
parents cbb26bc654de
children
line wrap: on
line source
Pagination
==========

To install:

  script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination

This code was extracted from Rails trunk after the release 1.2.3.
WARNING: this code is dead. It is unmaintained, untested and full of cruft.

There is a much better pagination plugin called will_paginate.
Install it like this and glance through the README:

  script/plugin install svn://errtheblog.com/svn/plugins/will_paginate

It doesn't have the same API, but is in fact much nicer. You can
have both plugins installed until you change your controller/view code that
handles pagination. Then, simply uninstall classic_pagination.