Interesting news about felines and their disinterest in sweet-tasting foods. In a just published article in the journal Public Library of Science Genetics, scientists at the Monell Chemical Senses Center in Philadelphia and the Waltham Center for Pet Nutrition in Britain performed a number of tests including the extraction of DNA from cats.
Conclusion: the gene for one of the two sugar receptor proteins is defective and can no longer make a receptor. Essentially, they lack the gene to enjoy sweet things.
So you can leave the cake out near the cat; but you still have to watch your dog!