I use a stuff bag to put pre-measured food in, it goes in one of my rear panniers near the top. I do something similar to what Aushiker did. I pre-package foods by serving size in ziplock baggies. Then the baggies go in a larger stuff sack. I also take a collapsible Rubbermaid container along, it allows me to soak beans for dinner while I am riding.
Aaron