I have a model User.php in plugin, look my gist[1] 

[1] https://gist.github.com/3340251 


Em sexta-feira, 10 de agosto de 2012 20h25min57s UTC-3, cricket escreveu:
>
> It's happening because Cake cannot find your User model. When you do 
> $this->User->something() it is usingthe AppModel instead of User 
> model. And so "registerValidate" is being sent directly to the 
> database as a query. 
>
> Is this model in a plugin? What is the file name? What does the first 
> line have? eg. 
>
> class User extends Appmodel { 
>
> On Fri, Aug 10, 2012 at 4:29 PM, Lucas Simon Rodrigues Magalhaes 
> <[email protected] <javascript:>> wrote: 
> > hii guys!!! 
> > 
> > I have a error[1] in any save data of my actions in my UserController. 
> > The error is in my function to validate[2] a add[3] user 
> > 
> > [1]  http://pastebin.com/M3hSWD9k 
> > [2]  http://pastebin.com/9Wg1Aujm 
> > [3]  http://pastebin.com/rZctnxFX 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "CakePHP" group. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. 
> > 
> > 
>

-- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to