annotate lib/plugins/classic_pagination/README @ 1459:cf78a7ade302
luisf
Merge from branch "bug_794"
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Mon, 11 Nov 2013 18:25:50 +0000 |
parents |
433d4f72a19b |
children |
|
rev |
line source |
Chris@0
|
1 Pagination
|
Chris@0
|
2 ==========
|
Chris@0
|
3
|
Chris@0
|
4 To install:
|
Chris@0
|
5
|
Chris@0
|
6 script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination
|
Chris@0
|
7
|
Chris@0
|
8 This code was extracted from Rails trunk after the release 1.2.3.
|
Chris@0
|
9 WARNING: this code is dead. It is unmaintained, untested and full of cruft.
|
Chris@0
|
10
|
Chris@0
|
11 There is a much better pagination plugin called will_paginate.
|
Chris@0
|
12 Install it like this and glance through the README:
|
Chris@0
|
13
|
Chris@0
|
14 script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
|
Chris@0
|
15
|
Chris@0
|
16 It doesn't have the same API, but is in fact much nicer. You can
|
Chris@0
|
17 have both plugins installed until you change your controller/view code that
|
Chris@0
|
18 handles pagination. Then, simply uninstall classic_pagination.
|