So, did it fix it? It just seems like a typo somewhere.
Point being, if you mistype model names and/or methods, Cake makes  
them up as it goes along (automagic guesswork). An inexistent method  
name will be attempted to be interpreted as an SQL call (e.g. - 
 >findByUserName(), even though you don't have a method of that name).

On 15 Oct 2008, at 12:22, Earl0983 wrote:

>
> Thanks, but that was actually a typo on my part it should have said:
>
> $this->User->validateUserLogin($this->data['User']) )
>
> I was playing around with it to try to get it to work and that is when
> i changed it to Users.  Sorry for the confusion.
>
> On Oct 14, 11:18 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
>> On 15 Oct 2008, at 12:08, Earl0983 wrote:
>>
>>> $this->Users->validateUserLogin($this->data['User']) )
>>
>>                  ^^^^^^
>> Model names are usually singular.
>>
>> Chrs,
>> Dav
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to