use pg gem for database