diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-06 14:50:02 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-06 14:54:18 -0500 |
commit | e5b1ab7cc39ff57f9789ffda75fb33f72187775d (patch) | |
tree | dd161b502ccfaca2e408779107d37386aa368103 /actionpack | |
parent | 73056500f88d569fa497d846dfe6b501a9e03739 (diff) | |
download | rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.tar.gz rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.tar.bz2 rails-e5b1ab7cc39ff57f9789ffda75fb33f72187775d.zip |
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 769eada120..1e44b166d9 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -463,7 +463,7 @@ module ActionView end private - COMPUTED_PUBLIC_PATHS = ActiveSupport::Cache::MemoryStore.new.silence!.threadsafe! + COMPUTED_PUBLIC_PATHS = ActiveSupport::Cache::MemoryStore.new.silence! # Add the the extension +ext+ if not present. Return full URLs otherwise untouched. # Prefix with <tt>/dir/</tt> if lacking a leading +/+. Account for relative URL |