From 929185dc2c2d69d97ac5d411dbbe90e64ab87ff6 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 d4079e9b..804151a1 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