Add pg gem and db_connection method