jippi/cakephp-crud — pull request #12 by ADmad (2013-06-13 06:49:25+00:00)
Title: Enhance RelatedModelsListener

Patch mainly does these things:

* By default generates lists for only belongsTo and habtm related models
* Ensures correct plugin model is loaded through CR::init()
* If a model has Tree behavior attached uses `TreeBehavior::genererateTreeList()` instead of `Model::find('list')`
* Takes assoc. conditions into consideration for `belongsTo` related models.

I will try to add tests over the weekend.