symbolize_keys (Merb::Orms::DataMapper)

    # File lib/merb/orms/data_mapper/connection.rb, line 56
            def symbolize_keys(h)
              config = {}

              h.each do |k, v|
                if k == 'port'
                  config[k.to_sym] = v.to_i
                elsif k == 'adapter' && v == 'postgresql'
                  config[k.to_sym] = 'postgres'
                elsif v.is_a?(Hash)
                  config[k.to_sym] = symbolize_keys(v)
                else
                  config[k.to_sym] = v
                end
              end

              config
            end