From 25321648f62b6d16105cc7c3418a040dfc4c6b48 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 27 Sep 2024 10:22:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E8=AE=B0=E5=BD=95=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/user_action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user_action.rb b/app/models/user_action.rb index 0c9a43347..c3b2270c0 100644 --- a/app/models/user_action.rb +++ b/app/models/user_action.rb @@ -25,7 +25,7 @@ class UserAction < ApplicationRecord - before_create :add_user_info + before_save :add_user_info serialize :data_bank, JSON