From 59fe16033a614a84a648174c0452ad11966ffadd Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 20 Oct 2019 21:56:06 -0700 Subject: [PATCH] Toying with stand from active game --- app/models/game.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/game.rb b/app/models/game.rb index d4079e9..804151a 100644 --- a/app/models/game.rb +++ b/app/models/game.rb @@ -93,7 +93,7 @@ class Game < ActiveRecord::Base end if @player - @player.destroy + @player.user_id = nil end end