def configure_relation
      case strategy
      when :ref_many      
        has_many_for subject_class, :role, :through => join_key 
        
        belongs_to_for join_model, subject_class
        belongs_to_for join_model, object_model

        has_many_for role, subject_class, :through => join_key 
        
      when :embed_many
        embeds_many subject_class, object_model
      end
    end
def configure_relation
      case strategy
      when :ref_many      
        has_many_for subject_class, :role, :through => join_key 
        
        belongs_to_for join_model, subject_class
        belongs_to_for join_model, object_model

        has_many_for role, subject_class, :through => join_key 
        
      when :embed_many
        embeds_many subject_class, object_model
      end
    end
more likely, strategy should be part of configuration options directly when Config object is created!