Living in Thailand can make you loose your sense and also your religion. The country is such a mix of different religions that you do not really know your place. It is important to be open to many religions and ideas and because Thailand has much different religions in their religion.
They have a mix of Cambodian, Hindu and Buddhist other religion in what they call Thai Buddhism.
The small houses you see outside houses have nothing to do with Buddhism but it is more a belief of spirit in the house and in the ground.