getloaded/php-activerecord — pull request #10 by hpainter (2013-07-24 13:40:42+00:00)
Title: Bugfix for eager loading has-many associations.

When eager loading has-many/has-one associations that specify a
custom primary_key, the relationship was ignoring that and using the
model's primary key value instead.