hgtonight/Application-Yaga — pull request #8 by kasperisager (2013-12-21 01:24:18+00:00)
Title: Correctly distinguish between parent types to avoid ID clashes in the Acted Model

When selecting content that has been reacted to, discussion and comment IDs will currently clash. E.g. if comment 16 has been reacted to, the Acted Model will also query discussion 16 if it exists.

This PR fixes the bug by taking into account the reaction parent types. The data was already available but wasn't being used.