Last active
April 24, 2016 18:21
-
-
Save ivalkeen/a8a96ab35e2f9f41fd00726d1926b965 to your computer and use it in GitHub Desktop.
Blog gists
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
# Use memory store for assets cache in development/test to avoid caching | |
# to tmp/assets, because it causes hiding of deprecation messages in | |
# stylesheets, sometimes break parallel_tests and doesn't always refresh | |
# gem stylesheets in development | |
config.assets.configure do |env| | |
if Rails.env.development? || Rails.env.test? | |
env.cache = ActiveSupport::Cache.lookup_store(:memory_store) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment