diff options
author | Cheah Chu Yeow <chuyeow@gmail.com> | 2011-11-13 13:18:55 +0800 |
---|---|---|
committer | Cheah Chu Yeow <chuyeow@gmail.com> | 2011-11-13 13:18:55 +0800 |
commit | a02b40a3d28c4b262dd49a8a6166c0275dfd9964 (patch) | |
tree | 7b5de7d228023feaff81517d451f990f66b9d14a /activesupport | |
parent | 84908fa38264ea6de55fb7a858b4af7b64bb6efa (diff) | |
download | rails-a02b40a3d28c4b262dd49a8a6166c0275dfd9964.tar.gz rails-a02b40a3d28c4b262dd49a8a6166c0275dfd9964.tar.bz2 rails-a02b40a3d28c4b262dd49a8a6166c0275dfd9964.zip |
Fix "in memory" where it should be "in-memory".
Diffstat (limited to 'activesupport')
3 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index 85e7e21624..9460532af0 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -8,7 +8,7 @@ module ActiveSupport # A cache store implementation which stores everything on the filesystem. # # FileStore implements the Strategy::LocalCache strategy which implements - # an in memory cache inside of a block. + # an in-memory cache inside of a block. class FileStore < Store attr_reader :cache_path diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb index ba37f3e871..530839b24d 100644 --- a/activesupport/lib/active_support/cache/mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/mem_cache_store.rb @@ -21,7 +21,7 @@ module ActiveSupport # server goes down, then MemCacheStore will ignore it until it comes back up. # # MemCacheStore implements the Strategy::LocalCache strategy which implements - # an in memory cache inside of a block. + # an in-memory cache inside of a block. class MemCacheStore < Store module Response # :nodoc: STORED = "STORED\r\n" diff --git a/activesupport/lib/active_support/cache/strategy/local_cache.rb b/activesupport/lib/active_support/cache/strategy/local_cache.rb index 0649a058aa..db5f228a70 100644 --- a/activesupport/lib/active_support/cache/strategy/local_cache.rb +++ b/activesupport/lib/active_support/cache/strategy/local_cache.rb @@ -4,9 +4,9 @@ require 'active_support/core_ext/string/inflections' module ActiveSupport module Cache module Strategy - # Caches that implement LocalCache will be backed by an in memory cache for the + # Caches that implement LocalCache will be backed by an in-memory cache for the # duration of a block. Repeated calls to the cache for the same key will hit the - # in memory cache for faster access. + # in-memory cache for faster access. module LocalCache # Simple memory backed cache. This cache is not thread safe and is intended only # for serving as a temporary memory cache for a single thread. |