luisdias/CakePHP-Report-Manager-Plugin — pull request #8 by netors (2013-02-12 00:30:14+00:00)
Title: use className instead of key alias to load associated models

currently, if you use an alias (association key) that is different from the model name, it does not work, because it is using the key to load the data from the associated model, instead of using the className

this fixes the issue of using an association with an alias
that is different than the className

the plug-in will load the associated model correctly by using the
className instead of the defined alias in the key of the association