If you’re bothered by gas when you eat beans, try this cooking method.
Put the beans in a large pot and cover them with water. Bring them to a boil and take them off the heat. This breaks the capsules surrounding the beans and allows stachyose, verbascose and raffinose, the gas-causing sugars, to
escape into the water. Stir about half a teaspoon of baking soda into the soaking water (to make it more alkaline) and let the beans soak overnight.
Drain the soaking water off the beans and rinse them several times. Add fresh water or bouillon and proceed with your recipe to cook the beans.
If you are just starting to add beans to your healthful diet, start out gradually and build up the amount you eat over several weeks. You will gradually build up colonies of healthful bacteria that help to break down the gas-causing sugars that are new to you.