propublica/simpler-tiles — pull request #4 by adamtrilling (2012-12-08 22:12:45+00:00)
Title: Fix Postgres connection string for ar_layer

The PG connection string generation for Map.ar_layer generates a string that OGR doesn't like:

PG:["dbname='foobar_development' ", "user='foobar' ", "host=''", "port=''", "password='foobar' "]

I have corrected it so the string looks like this:

"PG:dbname='foobar_development' user='foobar' host='' port='' password='foobar'"

This is using MacOS 10.6, with dependencies installed from homebrew, MRI ruby 1.9.3 with the performance patches, Postgres 9.2, and PostGIS 2.0.