Use constantantize instead of const_get

Fixes NameErrors when an associated model is namespaced (e.g. Foo::Bar)