未验证 提交 673e33ee 编写于 作者: F Francesco Rodríguez 提交者: GitHub

[ci skip] Fix typo

上级 0b4cfa2b
......@@ -60,7 +60,7 @@ def to_param
# 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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册