Eric changed this line too. He used @profile = Profile.new, but I think this is actually the right implementation to make sure it's associated to User.