kla/php-activerecord — pull request #360 by ryanknu (2013-08-30 17:28:04+00:00)
Title: Fixes #199

Fixes #199 by adding the through-table's foreign key to the related model's data, then uses that to compare the association. Requires no storage of the intermediate models.