From b272d547a6483bdbfb3429e23b88a66f55879a72 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 26 Aug 2019 16:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=B3=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/games_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 019211e7b..58e4683e0 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -970,7 +970,7 @@ class GamesController < ApplicationController game.update_attribute(:status, 0) if game.status == 1 game.update_attributes(status: 0, open_time: Time.now) if game.status == 3 # 开启实训更新myshixuns的时间,方便跟踪用于的学习进度。 - game.myshixun.update_column(:update_at, Time.now) + game.myshixun.update_column(:updated_at, Time.now) end end