quick fix, testing will_paginate version on rails 4