Skip to content

Instantly share code, notes, and snippets.

@vassyz
Created October 6, 2023 14:22
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/c20314b13253da64b6fe7bf3dc184930 to your computer and use it in GitHub Desktop.
Save vassyz/c20314b13253da64b6fe7bf3dc184930 to your computer and use it in GitHub Desktop.
[DfE] 2280-reverse-action-i-took
application_choice = ApplicationChoice.find(410761)
course_option = CourseOption.find(114533)
audit_comment = 'https://becomingateacher.zendesk.com/agent/tickets/139913'
application_choice.update_course_option_and_associated_fields!(
course_option,
audit_comment:,
other_fields: {
course_option:,
course_changed_at: Time.zone.now,
},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment