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:
Mateo Murphy
2015-03-19 23:28:00 -04:00
parent 9058d5fce7
commit ca985e1afd
7 changed files with 20 additions and 11 deletions

View File

@@ -170,7 +170,7 @@ module ActiveModel
body: "Body",
links: {
comments: [],
blog: nil,
blog: "999",
author: "1"
}
}