Same that $relation_to_name, use a static variable. The class can have multiple belongs_to