Messing around with pg gem