Rats and mice eat many types of plants and may occasionally help themselves to plants from a vegetable garden. However, a garden would not typically attract rats or mice in numbers above those normally occurring in an area. In urban areas there are plenty of places for these species to find other sources of food. Garden plants would be more likely to suffer damage from rabbits or woodchucks.