Soaking beans overnight does reduce gas from the beans.
Simply place dried beans in a container, cover them with water and let them soak.
They'll need to soak eight to 12 hours, but the key to eliminating the gas is draining and rinsing every three hours.
Drain, rinse and start soaking again every three hours.
You can also reduce gas from beans by adding some baking soda to the cooking water.