rails-api/active_model_serializers — pull request #401 by paulwalker (2013-10-10 21:43:31+00:00)
Title: embed_root option closes #399

An :embed_root option has been added that can be used in conjunction with embed: false on associations in order to side-load the objects. This allows side-loading without having to also embed ids.

Current behavior has been maintained. Addtional unit test and documentation added.