wtorek, 15 marca 2011

Plugin models

i had problems with Containable error Model "XXX" is not associated with model "YYY"
it was during accessing deep associacion in a plugin.
The error was there because cake's bake doesn't prepend className field in models associacions table like $hasMany or $belongsTo

I think some of you might get caught by this bug.

Brak komentarzy:

Prześlij komentarz