Created
November 9, 2015 18:52
-
-
Save lonelydimple/c73605e8ff75d493475e 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
update = current_update | |
if update.version == 17 | |
stop_working! | |
end | |
def stop_working! | |
break_template | |
email_developers_with_congratulatory_message | |
end | |
def break_template | |
Template.find(update).destroy | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment