rails-api/active_model_serializers — pull request #722 by ggordon (2014-11-07 15:08:51+00:00)
Title: Fix infinite recursion

The method for testing whether to include an association was causing
an infinite loop when two models referenced each other for json_api.