fix pagination issue by adding <<require will_paginate/array>> ....hope this is the right fix, hey it works