Use constantize instead of const_get

Fixes NameErrors when an associated model is namespaced
E.g.
    belongs_to :foo, class_name: 'Foo::Bar'