My son just recently told me that an Italian gentleman told him that his way of taking thee "gasseeness" out of beans is to cook a very small potato along with the beans.
I'm guessing that the potato absorbs the gas. I have not tried this yet, but I will add one to my next pot of beans.