Generally, cats and dogs don't eat rats as they are other carnivores. However, you can't rely on that so if you think your cat or dog might eat a dead rat, they don't put poison down. I have a friend whose dog ate rat poison, and they saved him, but only because they realised immediately what he had done, and drove him straight to the vets.
Beth