Ruby and postgres example

Require pg gem. Create connection, provide database name and execute
query.