I write a code like follow,the question was “paginate” has been drop
until the rails 2.0,now we use
“will_paginate” to replace it.But I don’t know how to change my code
to let it suitable.
@page_title = “Book List”
@book_pages,@books = Book.paginate :books,
:per_page => 10,
:order => “books.id
So,I want may be somebody can help .