require will_paginate in entry