Made changes to show recent purchases, update purchases via ajax and fixed broke rspecs