Created
July 8, 2014 13:43
-
-
Save pawel2105/a2e0e81d2454eed441f5 to your computer and use it in GitHub Desktop.
memcache clearing
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
# Find your tour ID | |
tour = Tour.find(xxx) | |
Cache::Tour.new(tour).delete | |
# This clears memcache for all regions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment