Created
August 27, 2014 16:52
-
-
Save jasonneylon/9e129bb253d0aedceb85 to your computer and use it in GitHub Desktop.
FlashHash patch for Rails 3
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
class Hash | |
def now | |
Rails.logger.warn "Stubbing now during upgrade" | |
{} | |
end | |
def keep | |
# stub keep for upgrade purposes | |
Rails.logger.warn "Stubbing keep during upgrade" | |
end | |
def sweep | |
# stub sweep for upgrade purposes | |
Rails.logger.warn "Stubbing sweep during upgrade" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment