Created
January 27, 2017 07:19
-
-
Save rhnasc/cc04a6baa8eb87ca201a5c817fa8f0f7 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
# very BAD | |
## deploy 1, by Mariah | |
Rails.cache.fetch ['entities', id, timestamp] do | |
SomeCustomDataStructure.new | |
end | |
## deploy 2, John just introduced a cache bug! | |
Rails.cache.fetch ['entities', id, timestamp] do | |
SomeCustomDataStructureOpsIChanged.new | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment