Created
February 9, 2013 22:55
-
-
Save olly/4747477 to your computer and use it in GitHub Desktop.
Disable "Rack::File headers parameter replaces cache_control after Rack 1.5." warnings in 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 Rack::File | |
def warn(*) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where do I put this file for the change to take effect?