See https://github.com/mislav/will_paginate/blob/master/lib/will_paginate/array.rb
Just require 'will_paginate/array'
before you try it and it will work just fine. If it were me, I’d put that in say config/initalizers/will_paginate_extensions.rb
so it’s available right away and from everywhere.