paginate_objects and paginate_hashes made