May be must
$this->User->findByLast_name('smith');
> PHP 4.4, cake 1.2.x latest beta
>
> the findBy<Field> function always give 'call to undefined function'
> error, no matter what field name I tried, such as
>
> $this->User->findByLastname('smith');
>
> The only thing not typical in my app is my primary keys are not 'id',
> for example, the users table has a primary key 'user_id'. I have used
> the $id field in my models where needed to define this.
>
> Anyone seen something like this?
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---