Adding pg and rails12