diff options
author | Damien Mathieu <42@dmathieu.com> | 2013-12-11 04:59:40 -0800 |
---|---|---|
committer | Damien Mathieu <42@dmathieu.com> | 2013-12-11 04:59:40 -0800 |
commit | e799c0eb4436a3cc5b594e059ccca1146a63abcd (patch) | |
tree | 8a9dc93543b24ecf93ca7d896e30452fcc002f12 | |
parent | 11c0ef58a6cd278fc6b5d81a7724d9bcdb47f623 (diff) | |
parent | 714a38217e884418d635435eb658ae7347d08dd7 (diff) | |
download | rails-e799c0eb4436a3cc5b594e059ccca1146a63abcd.tar.gz rails-e799c0eb4436a3cc5b594e059ccca1146a63abcd.tar.bz2 rails-e799c0eb4436a3cc5b594e059ccca1146a63abcd.zip |
Merge pull request #13270 from aayushkhandelwal11/typos
typo rectified
-rw-r--r-- | activesupport/lib/active_support/cache/file_store.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/cache/memory_store.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index 5cd6065077..5795d86a42 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -30,7 +30,7 @@ module ActiveSupport FileUtils.rm_r(root_dirs.collect{|f| File.join(cache_path, f)}) end - # Premptively iterates through all stored keys and removes the ones which have expired. + # Preemptively iterates through all stored keys and removes the ones which have expired. def cleanup(options = nil) options = merged_options(options) search_dir(cache_path) do |fname| diff --git a/activesupport/lib/active_support/cache/memory_store.rb b/activesupport/lib/active_support/cache/memory_store.rb index 34ac91334a..8a0523d0e2 100644 --- a/activesupport/lib/active_support/cache/memory_store.rb +++ b/activesupport/lib/active_support/cache/memory_store.rb @@ -36,7 +36,7 @@ module ActiveSupport end end - # Premptively iterates through all stored keys and removes the ones which have expired. + # Preemptively iterates through all stored keys and removes the ones which have expired. def cleanup(options = nil) options = merged_options(options) instrument(:cleanup, :size => @data.size) do |