Monday, October 31, 2011

Re: CakePHP 2.0 Model relation alias, am I getting it wrong?

Made a new database with just two tables to clean test this scenario
and worked as documented. Then went back to the real (more complex)
database where it doesn't and I still couldn't find anything wrong.

So I created a new working folder redoing the models with bake from
the start and there it works. Now the strange part, there doesn't seem
to be any difference in code (the $hasMany property in question or in
general) between the working and non working model class file. I've
diffed it just to prove to myself I'm not crazy!

So thanks for your time to reply, I appreciate it. I guess I shouldn't
have jumped on the subject without clean testing it first and although
I don't know what was wrong, it's solved so I'll move on...

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: