rails-api/active_model_serializers — pull request #509 by marshall-lee (2014-02-10 23:47:47+00:00)
Title: use associated_data.ids

Attempt to bring some optimization.