Pagination in rails to paginate the web documents using will_paginate
Pagination in Rails can be implemented easily with the will_paginate gem. The will_paginate gem modifies Collection of ActiveRecord in a way to implement pagination.
What is will_paginate?
It is Pagination Library for Rails
Querying for Records and Displaying Page Links can be automated using this gem
Source: Github – will_paginate
Steps for integration of will_paginate with Rails