OK, since no one response to this post, and because in the meantime i 
figure out i will post the result.

The problem was that i didn't respect conventions because i've use tables: 
users and users_details.
Because of that i should use in UsersDetail Model  *public $primaryKey = 
'user_id'; *otherwise it didn't know witch id field to use and i was 
inserting a new row, not updating the one allready used



joi, 26 iunie 2014, 14:19:23 UTC+3, CUCULEAC STEFAN a scris:
>
> No one? 
>
>
>
> -- 
> View this message in context: 
> http://cakephp.1045679.n5.nabble.com/Use-2-tables-for-update-tp5718641p5718652.html
>  
> Sent from the CakePHP mailing list archive at Nabble.com. 
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to