cakephp/cakephp — pull request #4176 by markstory (2014-08-06 00:46:27+00:00)
Title: 3.0 Fix an issue where plugin associations would be mishandled.

When joining plugin models together, I ran into an issue when using `hasMany('Plugin.Model')`. The SQL conditions would be incorrectly generated as `Plugin.Model.foo_id` instead of `Model.foo_id`.

This change fixes the failing build for cakephp/debug_kit#192