Adding postgres and rails