josevalim/active_model_serializers — Issue #21: The second level of serializers should still put their associations on the root
Author: wycats
Created: 2011-12-18 08:23:56+00:00
State: open

```ruby
class PostSerializer < ApplicationSerializer
embed :ids, :include => true
has_many :comments
end

class CommentSerializer < ApplicationSerializer
embed :ids, :include => true
has_many :tags
end
```

The tags should be at the top root, not alongside `comments`.