yiisoft/yii — pull request #3016 by nineinchnick (2013-11-06 14:23:10+00:00)
Title: Resolves #3015, allow array syntax when specifying foreign key for a MANY_MANY relation

This does not however allow using 'together' on MANY_MANY.

Todo:
- [ ] Fix docs, like guide and CActiveRecord.relations() method description
- [ ] Add unit tests