|
|
|
@ -32,7 +32,7 @@ namespace :tfxy do
|
|
|
|
|
profile_completed: true,
|
|
|
|
|
professional_certification: 1,
|
|
|
|
|
certification: 1,
|
|
|
|
|
laboratory_id: Laboratory.first.id
|
|
|
|
|
laboratory_id: Laboratory.find(1)
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -82,7 +82,7 @@ namespace :tfxy do
|
|
|
|
|
course = Course.find_or_initialize_by(school_id: school.id, name: course_data.cell(r, 2)) do |d|
|
|
|
|
|
d.is_public = 0
|
|
|
|
|
d.tea_id = teach_user.id
|
|
|
|
|
d.laboratory_id = Laboratory.first.id
|
|
|
|
|
d.laboratory_id = Laboratory.find(1)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -151,7 +151,7 @@ namespace :tfxy do
|
|
|
|
|
profile_completed: true,
|
|
|
|
|
professional_certification: 1,
|
|
|
|
|
certification: 1,
|
|
|
|
|
laboratory_id: Laboratory.first.id
|
|
|
|
|
laboratory_id: Laboratory.find(1)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if user.save!
|
|
|
|
|