Created
June 1, 2009 03:29
-
-
Save apeckham/121212 to your computer and use it in GitHub Desktop.
Disables Rails.cache for testing like http://gist.github.com/104946, but only overrides write
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 BlackHoleStore < ActiveSupport::Cache::MemoryStore | |
def write(*args) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment