Student's death ruled an accident