aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-04-13 16:24:48 -0400
committerArthur Nogueira Neves <arthurnn@gmail.com>2014-04-13 16:24:48 -0400
commit4baa866e35a2c08aa236ac83c061e3343e951a49 (patch)
tree0cef2dc49660c9ad707f73d45a922fe4932afc2e /guides/source
parent2c21e6adc330791adb229aed975b1d4f4527c77d (diff)
parent0debba8899c64f80526ad08c9f535a40c808ece6 (diff)
downloadrails-4baa866e35a2c08aa236ac83c061e3343e951a49.tar.gz
rails-4baa866e35a2c08aa236ac83c061e3343e951a49.tar.bz2
rails-4baa866e35a2c08aa236ac83c061e3343e951a49.zip
Merge pull request #14737 from nickborromeo/disable-asset-cache-docs
Disable assest cache store in docs [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/asset_pipeline.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index d688bb7b4e..d3dc790500 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -1041,6 +1041,14 @@ cache store.
config.assets.cache_store = :memory_store, { size: 32.megabytes }
```
+To disable the assets cache store:
+
+```ruby
+config.assets.configure do |env|
+ env.cache = ActiveSupport::Cache.lookup_store(:null_store)
+end
+```
+
Adding Assets to Your Gems
--------------------------