Skip to content

Instantly share code, notes, and snippets.

@defong
Last active October 10, 2023 10:32
Show Gist options
  • Save defong/594d9a9827b2d176a2c836da4a4c9c28 to your computer and use it in GitHub Desktop.
Save defong/594d9a9827b2d176a2c836da4a4c9c28 to your computer and use it in GitHub Desktop.
[DfE] 2290-student-visa
# https://www.publish-teacher-training-courses.service.gov.uk/publish/organisations/1A8/2024/courses/372X
# https://www.publish-teacher-training-courses.service.gov.uk/publish/organisations/1A8/2024/courses/3735
#
# to no
courses = RecruitmentCycle.current.providers.find_by(provider_code: "1A8").courses.where(course_code: ["372X", "3735" ] )
courses.update!(can_sponsor_student_visa: false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment