Older version of will_paginate to work with activeadmin