>
> Your AppModel is being used instead of the actual model. This usually
> happens when your model is misspelt or its filename is wrong.
>
I thought that might be case, but when the code below worked I assumed
that the Example Model is loading properly...
$this->Example = ClassRegistry::init('Example');
$result = $this->Example->findById('10');
I will check to make sure that i am following cake-naming conventions,
but I am using the same model in other 'controllers' without any
problems.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en