Created
February 22, 2018 14:40
-
-
Save davidray/dd5de60c7859a961a673d6de72ab9315 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put the program IDs in this array | |
ids = [] | |
# This template uses the CSS we need | |
css = ::ContentLibrary::CourseTemplate.find(13).overview_segment_css | |
# Make sure all programs are there | |
ids.count | |
::Organizations::Program.where(id: ids).count | |
# Update the css used by the IWS program | |
::Organizations::Program.where(id: ids).update_all({overview_segment_css: css}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment