will_paginate, with added support for displaying links even if there is only one page.