changed to postgres gem.