diff options
author | schneems <richard.schneeman+foo@gmail.com> | 2018-09-20 20:40:31 -0500 |
---|---|---|
committer | schneems <richard.schneeman+foo@gmail.com> | 2018-09-20 20:40:31 -0500 |
commit | 3424bd83d699bb996aa27d85b970e484d37e3485 (patch) | |
tree | dcef5ad547631c8680763cd57479259d2ddc75ed /railties/CHANGELOG.md | |
parent | 135d3e15b72b9820212027b057df8980140a947b (diff) | |
download | rails-3424bd83d699bb996aa27d85b970e484d37e3485.tar.gz rails-3424bd83d699bb996aa27d85b970e484d37e3485.tar.bz2 rails-3424bd83d699bb996aa27d85b970e484d37e3485.zip |
Switch to supports_cache_versioning? check to a class method
- Moving the `supports_cache_versioning?` check to a class method.
- Shorten the method doc.
- Expand on the error message.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index da4beedecf..4342cf6968 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,5 +1,7 @@ * Raise an error when "recyclable cache keys" are being used by a cache store - that does not explicitly support it. + that does not explicitly support it. Custom cache keys that do support this feature + can bypass this error by implementing the `supports_cache_versioning?` method on their + class and returning a truthy value. *Richard Schneeman* |