def build_association(value)
    association = @form.create_association(
      group: @group.to_s,
      type: @type.to_s,
      value: value
    )

    # Since the associations are fake, we just set persistence to the parent
    # object's value
    association.persisted = @source.persisted?

    return association
  end
def build_association(value)
    association = @form.create_association(
      group: @group.to_s,
      type: @type.to_s,
      value: value
    )

    
    
    association.persisted = @source.persisted?

    return association
  end
def build_association ( value ) association = @form . create_association ( group : @group . to_s , type : @type . to_s , value : value ) # Since the associations are fake, we just set persistence to the parent # object's value association . persisted = @source . persisted? return association end
Builds a single association with the given data
Builds a single association with the given data