add require 'will_paginate/array'