Using pg gem instead of sqlite3