Added pg and rails12 factor