Fix issue with will_paginate-bootstrap version and Ruby 1.8