Cheers nate.

It seems after analysing the debug output and a bit of head scratching,
that I had my model associations set up wrong, so it was failing at the
stage of building the SQL query. I guess my understanding of the
associations in Cake isn't quite up to scratch!!

Thanks a lot, I'm really enjoying coding in Cake and friendly support
like this certainly doesn't hurt.

On Jan 16, 11:57 am, "nate" <[EMAIL PROTECTED]> wrote:
First, check to see that it is actually generating the proper query by
setting DEBUG to 2.  Then, try this instead:

$this->User->find(array('username' => $username));


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to