@records is an array, so @records.delete() will expct an integer, surely?