Created
May 12, 2009 13:40
-
-
Save drogus/110488 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class ActiveSupport::Cache::MyMemCacheStore < ActiveSupport::Cache::MemCacheStore | |
def initialize(*addresses) | |
super(*addresses) | |
extend ActiveSupport::Cache::Strategy::LocalCache | |
end | |
def read(key, options = nil) | |
super.untaint | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment