RestPack/restpack_serializer — pull request #98 by edlenox (2014-09-24 20:37:20+00:00)
Title: avoid_multiple_db_calls_for_links

pluck causes a db call to be made even if the associated resource has already been loaded using an activerecord includes.
This patch changes that, but makes it less efficient if the resource hasn't already been loaded.
In most cases I would have thought that includes should have been used, so I think this might be better.