Rats have a better sense of smell than humans, as foxes are natural predators of rats they will avoid areas where a fox is present, but rats will attempt to feed even if foxes are present. I own a small family pest control company critter solutions. I am happy to advise in rats or any pest issues you may have kind regards Roger