completed data upload and completed answers in sql and rails