return abstract class from relation_class, for compatibility with friendly_id.