def load_continent_defs( name, more_attribs={} )
    reader = create_values_reader( name, more_attribs )

    reader.each_line do |attribs, values|

      ## check optional values
      values.each_with_index do |value, index|
        logger.warn "unknown type for value >#{value}<"
      end

      rec = Continent.find_by_key( attribs[ :key ] )
      if rec.present?
        logger.debug "update Continent #{rec.id}-#{rec.key}:"
      else
        logger.debug "create Continent:"
        rec = Continent.new
      end

      logger.debug attribs.to_json

      rec.update_attributes!( attribs )

    end # each lines
  end
def load_continent_defs( name, more_attribs={} )
    reader = create_values_reader( name, more_attribs )

    reader.each_line do |attribs, values|

      ## check optional values
      values.each_with_index do |value, index|
        logger.warn "unknown type for value >#{value}<"
      end

      rec = Continent.find_by_key( attribs[ :key ] )
      if rec.present?
        logger.debug "update Continent #{rec.id}-#{rec.key}:"
      else
        logger.debug "create Continent:"
        rec = Continent.new
      end

      logger.debug attribs.to_json

      rec.update_attributes!( attribs )

    end # each lines
  end
use ContinentDef Reader