Last active
January 23, 2018 23:49
-
-
Save bad6e/836f896ab2568158f992127136042430 to your computer and use it in GitHub Desktop.
Turn on Defaults Set for All Active Teams for an Organization
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
org = Organization.find :id | |
active_teams = org.teams.active | |
for team in active_teams | |
team.update(defaults_set: true) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment