diff options
author | Arun Agrawal <arunagw@gmail.com> | 2018-10-08 12:22:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 12:22:52 +0530 |
commit | 1c9b6ab466eff59a8a59bc2e38720fe1983c2c33 (patch) | |
tree | b0db267ead097ed62a7c9ba33f3206af04b9f9d9 /activerecord | |
parent | 0b4cfa2ba3e978386240e0e56a409616cc32fd02 (diff) | |
parent | 673e33eee533e104f47b5e22db2c1a879e3bbc49 (diff) | |
download | rails-1c9b6ab466eff59a8a59bc2e38720fe1983c2c33.tar.gz rails-1c9b6ab466eff59a8a59bc2e38720fe1983c2c33.tar.bz2 rails-1c9b6ab466eff59a8a59bc2e38720fe1983c2c33.zip |
Merge pull request #34119 from frodsan/patch-1
[ci skip] Fix typo
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/integration.rb b/activerecord/lib/active_record/integration.rb index 6cf26a9792..456689ec6d 100644 --- a/activerecord/lib/active_record/integration.rb +++ b/activerecord/lib/active_record/integration.rb @@ -60,7 +60,7 @@ module ActiveRecord # the cache key will also include a version. # # Product.cache_versioning = false - # Person.find(5).cache_key # => "people/5-20071224150000" (updated_at available) + # Product.find(5).cache_key # => "products/5-20071224150000" (updated_at available) def cache_key(*timestamp_names) if new_record? "#{model_name.cache_key}/new" |