mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Add CHANGELOG [ci skip]
This commit is contained in:
parent
fb62fb39b2
commit
be9c1bd397
@ -27,6 +27,8 @@ Features:
|
||||
- [#1340](https://github.com/rails-api/active_model_serializers/pull/1340) Add support for resource-level meta. (@beauby)
|
||||
|
||||
Fixes:
|
||||
- [#1480](https://github.com/rails-api/active_model_serializers/pull/1480) Fix setting of cache_store from Rails configuration. (@bf4)
|
||||
Fix uninentional mutating of value in memory cache store. (@groyoh)
|
||||
- [#1622](https://github.com/rails-api/active_model_serializers/pull/1622) Fragment cache changed from per-record to per-serializer.
|
||||
Now, two serializers that use the same model may be separately cached. (@lserman)
|
||||
- [#1478](https://github.com/rails-api/active_model_serializers/pull/1478) Cache store will now be correctly set when serializers are
|
||||
|
||||
@ -5,9 +5,6 @@ module ActiveModelSerializers
|
||||
config.secret_key_base = 'abc123'
|
||||
config.active_support.test_order = :random
|
||||
config.action_controller.perform_caching = true
|
||||
# TODO: figure out why turning on the memory cache changes
|
||||
# the result of the CacheTest#test_associations_cache_when_updated
|
||||
# and if it is more correct or less correct.
|
||||
config.action_controller.cache_store = :memory_store
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user