cakephp/cakephp — pull request #4459 by markstory (2014-09-01 19:13:28+00:00)
Title: Fix self association issues in bake

This fixes 2 of the 3 issues in #4440. I'll make a separate issue for the foreign key constraints, as I feel it is worth discussing the interface before writing code.