kla/php-activerecord — pull request #283 by Iazel (2013-04-14 23:08:17+00:00)
Title: Has many through fixes

When we works on legacy system it's improbable to rely on conventions and I've not found a way to set the key used in through relationship. Now it's possible specify "through_key" in the relationship options; it will be used in the "on" clause.

Plus, is now possible to pass this kind of relations in find's 'joins' option and it will work as expected.