mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Update fragment cache to support namespaced objects
This commit is contained in:
1
test/fixtures/poro.rb
vendored
1
test/fixtures/poro.rb
vendored
@@ -250,6 +250,7 @@ VirtualValueSerializer = Class.new(ActiveModel::Serializer) do
|
||||
end
|
||||
|
||||
Spam::UnrelatedLinkSerializer = Class.new(ActiveModel::Serializer) do
|
||||
cache only: [:id]
|
||||
attributes :id
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user