Skip to content

Commit e799c0e

Browse files
committed
Merge pull request rails#13270 from aayushkhandelwal11/typos
typo rectified
2 parents 11c0ef5 + 714a382 commit e799c0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activesupport/lib/active_support/cache/file_store.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def clear(options = nil)
3030
FileUtils.rm_r(root_dirs.collect{|f| File.join(cache_path, f)})
3131
end
3232

33-
# Premptively iterates through all stored keys and removes the ones which have expired.
33+
# Preemptively iterates through all stored keys and removes the ones which have expired.
3434
def cleanup(options = nil)
3535
options = merged_options(options)
3636
search_dir(cache_path) do |fname|

activesupport/lib/active_support/cache/memory_store.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def clear(options = nil)
3636
end
3737
end
3838

39-
# Premptively iterates through all stored keys and removes the ones which have expired.
39+
# Preemptively iterates through all stored keys and removes the ones which have expired.
4040
def cleanup(options = nil)
4141
options = merged_options(options)
4242
instrument(:cleanup, :size => @data.size) do

0 commit comments

Comments
 (0)