Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: davidtolsma
automatically login after signup. Add the cookies line in the save condition.
@user = User.new(params[:user])
redirect_to root_url, :notice => "Signed up!"
cookies[:auth_token] = @user.auth_token
flash[:notice] = "User exists."