Cat Problems

Does anyone have any good ways to keep cats out of the flowerbed that doesn't stink and isn't harmful to the environment or the cat or anyone else in the yard?  (IE is there any plants I should plant or anything like that that they don't like? )