How did the gold rush change the cultural composition of California?