mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Make ArraySerializer reuse Serializer embedded_in_root_associations code
This commit is contained in:
@@ -141,10 +141,6 @@ end
|
||||
keys
|
||||
end
|
||||
|
||||
def serializable_data
|
||||
embedded_in_root_associations.merge!(super)
|
||||
end
|
||||
|
||||
def embedded_in_root_associations
|
||||
associations = self.class._associations
|
||||
included_associations = filter(associations.keys)
|
||||
|
||||
Reference in New Issue
Block a user