One of the most difficult aspects of growing vegetables where I live is the determination to devastate each and every edible plant I try to grow by the hungry wildlife. Living in the chaparral with a desert-like climate, rodents of all descriptions seek juicy fruits and vegetables when the sparse green provided by nature bakes to a crisp on surrounding hillsides. Even the raccoons and coyotes delight in home-grown vegetables.
The best way I’ve found to fend off these hungry critters is to build raised vegetable gardens. You can construct raised vegetable gardens out of any material you want. You simply need to make sure there are no gaps accessible by the smallest of your wild raiders. Using decorative block or painted wood can make your garden ornamental. Just make sure you don’t use toxic materials (including paints and stains) that can leach into your garden soil. Be particularly careful of the creosote in railroad ties. If you aren’t sure about the materials you are using, then line the interior of your raised garden bed walls so the soil does not come in direct contact.
Remember that some birds can also damage your vegetable garden. So even if you build a well-sealed raised vegetable bed, you may have to construct a netted roof to keep your flying friends away from your prized edibles.