The will_paginate library provides a simple, yet powerful and extensible API for pagination and rendering of page links in web application templates.
Mislav Marohnić
gem "will_paginate", "~> 3.0.pre4"