Skip to content

Instantly share code, notes, and snippets.

@vassyz
Created November 7, 2023 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vassyz/7a45fb5f3e971a6cced26bf38b1761e7 to your computer and use it in GitHub Desktop.
Save vassyz/7a45fb5f3e971a6cced26bf38b1761e7 to your computer and use it in GitHub Desktop.
[DfE] 2481-visa-sponsorship
provider =RecruitmentCycle.current.providers.find_by(provider_code: "2DP")
provider.courses.find_by(course_code: '2ZKM').update(can_sponsor_student_visa: false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment