move will_paginate into table, precompile assets