def add_has_ones(row, attrs)
      @config.has_ones.each do |name,assoc_config|
        fields = (assoc_config.fields - assoc_config.export_only_fields).map(&:to_s)
        fields.each do |f|
          csv_name = "#{name}_#{f}"
          row.has_key? csv_name or next
          (attrs[name.to_s] ||= {})[f] = row.field "#{name}_#{f}"
        end
      end
    end
def add_has_ones(row, attrs)
      @config.has_ones.each do |name,assoc_config|
        fields = (assoc_config.fields - assoc_config.export_only_fields).map(&:to_s)
        fields.each do |f|
          csv_name = "#{name}_#{f}"
          row.has_key? csv_name or next
          (attrs[name.to_s] ||= {})[f] = row.field "#{name}_#{f}"
        end
      end
    end
Adds configured has ones to attrs