I have a User model, which belongs to Profile (belongs_to polymorphic). One model comes in two subclasses, but the profile_type in
This happens because the _type column is supposed to identify the model's table and should not contain data on the model itself - just a reference.
_type
However if you inspect user.profile.type it should return SomeDeepProf1.
user.profile.type
SomeDeepProf1