I want to do paging of lists of data with ruby on rails. Basically, I want to show only 20 records at a time, with next and back buttons. It would be nice, but not required, to show links for the page numbers.
Something like this would be nice:
<< Previous 1 2 3 4 5 ... Next >>
Is there a built in way to do this in ruby on rails (or something I can add) so I don't have to write this myself?