rails-api/active_model_serializers — pull request #460 by arenoir (2013-11-28 00:18:06+00:00)
Title: Fixes filter method being called multiple times. 

Fixes #459 by adding filtered_keys method. It combines attributes.keys with association keys and passes them to filter method memoizing result.