diff options
author | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-13 16:56:04 -0700 |
---|---|---|
committer | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-13 16:56:04 -0700 |
commit | 647b83d50cba655422bcb83815f618b5a92bfc7d (patch) | |
tree | 72ea7eaf5344a19161c59812707b3055d98adfbe /activesupport/lib/active_support/concurrent_hash.rb | |
parent | 906aebceedb95d8caa6db6314bc90f605bdfaf2b (diff) | |
download | rails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.gz rails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.bz2 rails-647b83d50cba655422bcb83815f618b5a92bfc7d.zip |
Resurrecting 1.9 compatibility.
Diffstat (limited to 'activesupport/lib/active_support/concurrent_hash.rb')
-rw-r--r-- | activesupport/lib/active_support/concurrent_hash.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/concurrent_hash.rb b/activesupport/lib/active_support/concurrent_hash.rb index c9f9b16da3..40224765a7 100644 --- a/activesupport/lib/active_support/concurrent_hash.rb +++ b/activesupport/lib/active_support/concurrent_hash.rb @@ -9,6 +9,7 @@ module ActiveSupport def []=(k,v) @mutex.synchronize { @backup_cache[k] = v } @frozen_cache = @backup_cache.dup.freeze + v end def [](k) |