diff options
author | Francesco RodrÃguez <frodsan@me.com> | 2018-10-08 08:32:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 08:32:56 +0200 |
commit | 673e33eee533e104f47b5e22db2c1a879e3bbc49 (patch) | |
tree | b0db267ead097ed62a7c9ba33f3206af04b9f9d9 | |
parent | 0b4cfa2ba3e978386240e0e56a409616cc32fd02 (diff) | |
download | rails-673e33eee533e104f47b5e22db2c1a879e3bbc49.tar.gz rails-673e33eee533e104f47b5e22db2c1a879e3bbc49.tar.bz2 rails-673e33eee533e104f47b5e22db2c1a879e3bbc49.zip |
[ci skip] Fix typo
-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" |