From 866347fa62295056de7be878f36c91526dbd2c87 Mon Sep 17 00:00:00 2001 From: anke1460 Date: Thu, 27 Feb 2020 22:31:05 +0800 Subject: [PATCH] fix --- lib/tasks/tfxy.rake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/tasks/tfxy.rake b/lib/tasks/tfxy.rake index 17698e167..a64b2a902 100644 --- a/lib/tasks/tfxy.rake +++ b/lib/tasks/tfxy.rake @@ -31,7 +31,9 @@ namespace :tfxy do mail: teach_data.cell(r, 6), profile_completed: true, professional_certification: 1, - certification: 1 + certification: 1, + laboratory_id: Laboratory.first.id + ) if user.save! @@ -148,7 +150,8 @@ namespace :tfxy do mail: student_data.cell(r, 9), profile_completed: true, professional_certification: 1, - certification: 1 + certification: 1, + laboratory_id: Laboratory.first.id ) if user.save!