Skip to content

Instantly share code, notes, and snippets.

@bad6e
Created December 20, 2017 17:15
Show Gist options
  • Save bad6e/33c1adec6a40448dd4a68a3e3370b689 to your computer and use it in GitHub Desktop.
Save bad6e/33c1adec6a40448dd4a68a3e3370b689 to your computer and use it in GitHub Desktop.
iServe Update Notifications
org = Organization.find(575)
teams = org.teams
teams.each do |team|
team.update(status_change_notifications: false)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment