Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save defong/af6ca5e78f7d7191757ce9779388e137 to your computer and use it in GitHub Desktop.
Save defong/af6ca5e78f7d7191757ce9779388e137 to your computer and use it in GitHub Desktop.
[DfE] 2267-update-course-start-date-from-april-2025-to-april-2024
course = RecruitmentCycle.current.providers.find_by(provider_code: "L75").courses.find_by(course_code: "C577")
course.start_date = DateTime.parse("April 2024")
course.save!
# https://qa.find-postgraduate-teacher-training.service.gov.uk/course/L75/C577
# https://qa.publish-teacher-training-courses.service.gov.uk/publish/organisations/L75/2024/courses/C577/details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment