To keep leftovers from spoiling, purchase a food display case. When your Sim is finished eating his food, and there is still food remaining on the plate, go into buy mode. Pick up the plate and put it in the display case. The food won't go bad and you can pick it up in buy mode and put it on a counter, table, etc. for your Sim to eat more of it.