app/models/run.rb
# condition for Self_Entity in association definition
condition for Self_Entity in association definition
condition for Self_Entity in association definition
def cond_for_assocs_from(self_part, counter_part)
    self_entity, self_attr       = self_part.split(".").map(&:strip)
    counter_entity, counter_attr = counter_part.split(".").map(&:strip)
    self_entity == Self_Entity &&  (value = send(self_attr))  ? "#{counter_part} = #{value}" : nil      
  end
def cond_for_assocs_from ( self_part , counter_part ) self_entity , self_attr = self_part . split ( "." ) . map ( & :strip ) counter_entity , counter_attr = counter_part . split ( "." ) . map ( & :strip ) self_entity == Self_Entity && ( value = send ( self_attr ) ) ? "#{counter_part} = #{value}" : nil end
condition for Self_Entity in association definition
condition for Self_Entity in association definition
self_part
<not_specific>
counter_part
<not_specific>