fix paginate none in rails4