Skip to content

Instantly share code, notes, and snippets.

@recursive
Created October 7, 2009 07:02
Show Gist options
  • Select an option

  • Save recursive/203832 to your computer and use it in GitHub Desktop.

Select an option

Save recursive/203832 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'postgres'
conn = PGconn.connect("localhost", 5432, '','', "db", "user", nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment