Found better home for will_paginate fix to use with arrays