I have had more than a few students come and tell me that their grandmother (or mom or dad or, or, or) told them that ain't isn't a word. I have usually replied that technically that's true. It's two words. But, that's contractions for ya.