The ruling on smoking electronic cigarettes during fasting is that it is not permissible. This is because it is considered a form of smoking, which breaks the fast. It is important to avoid anything that could invalidate the fast, including inhaling substances that are not food or drink. For further details, you can refer to the sources provided.