Attempt to add ruby code for next page of data