阅读背景:

序列化模型子对象的JSON关联

来源:互联网 

I'm using active-model-serializers for my API. I have a model (Task) that has many subtasks(always Task model), called children. I do this recursive has_many association thanks to ancestry gem (I'm using active-model-serializers for my API.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: