Merge pull request #14871 from kassio/kb-fixes-namespaced-habtm

Fix how to compute class name on habtm namespaced.

Conflicts:
	activerecord/CHANGELOG.md