mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Use association value for determining serializer used
Ensures overridden association value works when orignal association does not return a result.
This commit is contained in:
@@ -170,7 +170,7 @@ module ActiveModel
|
||||
body: "Body",
|
||||
links: {
|
||||
comments: [],
|
||||
blog: nil,
|
||||
blog: "999",
|
||||
author: "1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user