mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
It seems that fecthing from memory_store returns a reference to the object and not a copy. Since the Attributes adapter applies #merge! on the Hash that is returned from the memory_store, the value in the cache is also modified. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| active_model_serializers | ||
| generators/rails | ||
| grape | ||
| active_model_serializers.rb | ||