Rodents are attracted to meats, fish and dairy products. These should never be put into the compost pile. If there are unacceptable food scraps in the compost bin, take them out and cover the compost with a fresh coat of brown material such as grass clippings, straw, newspaper or leaves.