which is best gem package for pagination. I am using will_paginate buts its previous and next button are not working. Do you have any idea about it ??
def client_info
sleep 2
@clinet = BuyerInfo.paginate(page: params[:all], per_page: 2).order("id")
#@clinet = BuyerInfo.all
end