Last active
October 2, 2023 14:39
-
-
Save defong/2b772c6db37a091f8bf720cf37992e6b to your computer and use it in GitHub Desktop.
[DfE] 2254-course-code-update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider = RecruitmentCycle.current.providers.find_by(provider_code: "N21") | |
course = RecruitmentCycle.current.next.providers.find_by(provider_code: "N21").courses.find_by(course_code: "U999") | |
course.update!(course_code: "IU99") | |
course = RecruitmentCycle.current.next.providers.find_by(provider_code: "N21").courses.find_by(course_code: "C758") | |
course.update!(course_code: "W9X1") | |
course = RecruitmentCycle.current.next.providers.find_by(provider_code: "N21").courses.find_by(course_code: "C893") | |
course.update!(course_code: "V1X1") | |
# U999, IU99 | |
# C758, W9X1 | |
# C893, V1X1 | |
# https://www.publish-teacher-training-courses.service.gov.uk/support/2024/providers/19466/courses/12999847/edit | |
# https://www.publish-teacher-training-courses.service.gov.uk/support/2024/providers/19466/courses/12999848/edit | |
# https://www.publish-teacher-training-courses.service.gov.uk/support/2024/providers/19466/courses/12999846/edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment