Skip to content

Instantly share code, notes, and snippets.

@defong
Last active October 3, 2023 08:35
Show Gist options
  • Save defong/6be42d076c50c1c8d1dff68e77790f61 to your computer and use it in GitHub Desktop.
Save defong/6be42d076c50c1c8d1dff68e77790f61 to your computer and use it in GitHub Desktop.
[DfE] 2258-urgent-visa-sponsorship
provider_codes = ["5V5"]
providers = RecruitmentCycle.current.providers.where(provider_code: provider_codes)
providers.update!(can_sponsor_skilled_worker_visa: false, can_sponsor_student_visa: false)
# # There is a validation issue with UKPRN
# provider = RecruitmentCycle.current.next.providers.where(provider_code: "1TW")
# provider.save!(can_sponsor_skilled_worker_visa: false, can_sponsor_student_visa:false, validate: false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment