Prefer object.cache_key when available.

This commit is contained in:
Benjamin Fleischer
2016-03-31 13:57:38 -05:00
parent ab6bd600e3
commit 4ba4c298ec
6 changed files with 55 additions and 76 deletions

View File

@@ -3,6 +3,8 @@
Breaking changes:
Features:
- [#1642](https://github.com/rails-api/active_model_serializers/pull/1642) Prefer object.cache_key over the generated
cache key. (@bf4 via #1346 by @kevintyll)
- [#1637](https://github.com/rails-api/active_model_serializers/pull/1637) Make references to 'ActionController::Base.cache_store' explicit
in order to avoid issues when application controllers inherit from 'ActionController::API'. (@ncuesta)
- [#1633](https://github.com/rails-api/active_model_serializers/pull/1633) Yield 'serializer' to serializer association blocks. (@bf4)