Log message #1033718

# At Username Text
# Sep 13th 2009, 07:50 nini if id is set, then it will check if db row exists
# Sep 13th 2009, 07:48 Spirit ahn :)
# Sep 13th 2009, 07:48 nini if there Id is set or not
# Sep 13th 2009, 07:47 Spirit how cake undestand if it must use insert or update?
# Sep 13th 2009, 07:37 Spirit hi
# Sep 13th 2009, 07:37 dogmatic69 hi all'
# Sep 13th 2009, 07:17 HardPhuck strange, my relational data is saved in the join table instead of foreign table
# Sep 13th 2009, 07:08 Spirit echo $form->create('Post', array('action' => 'edit')); <<<< create?
# Sep 13th 2009, 07:06 Spirit how cake undestand if it must use insert, delete or update?
# Sep 13th 2009, 06:57 Spirit why edit use insert?
# Sep 13th 2009, 06:55 Spirit .
# Sep 13th 2009, 06:52 Spirit help pls
# Sep 13th 2009, 06:50 Spirit ( http://book.cakephp.org/it/view/340/Editing-Posts )
# Sep 13th 2009, 06:49 Spirit can anyone help me?
# Sep 13th 2009, 06:48 Spirit and it trow this error: Warning (512): SQL Error: 1062: Duplicate entry '2' for key 'PRIMARY'
# Sep 13th 2009, 06:48 Spirit not an update
# Sep 13th 2009, 06:48 Spirit it run a insert query
# Sep 13th 2009, 06:48 Spirit when i "save post" in the edit page
# Sep 13th 2009, 06:47 Spirit i'm not able to edit a post
# Sep 13th 2009, 06:47 Spirit i have a problem with first example: the blog
# Sep 13th 2009, 06:46 Spirit hi
# Sep 13th 2009, 06:27 BlackIce it still checks userAgents, even after setting Session.checkAgent to false
# Sep 13th 2009, 06:26 BlackIce hm, fancyUpload doesn't seem to work right
# Sep 13th 2009, 06:02 kokdemir I need some help for turkish chars?
# Sep 13th 2009, 05:58 kokdemir hi, anybody knows about non latin character encoding?
# Sep 13th 2009, 05:38 HardPhuck thanx
# Sep 13th 2009, 05:35 AD7six HardPhuck: $form->create(null, array('url' => $this->passedArgs));
# Sep 13th 2009, 05:27 HardPhuck but when i submit that number is removed, how could i prevent that?
# Sep 13th 2009, 05:27 HardPhuck one more thing the same form i use to register uses a same approach then edit /users/register/1234 (this number gets some stuff from DB)
# Sep 13th 2009, 04:40 HardPhuck nini: thanx a lot, it works
# Sep 13th 2009, 04:20 nini }
# Sep 13th 2009, 04:20 nini return;
# Sep 13th 2009, 04:20 nini if( !$this->Model1->validates() | !$this->Model2->validates()){
# Sep 13th 2009, 04:20 nini $this->Model2->set($this->data);
# Sep 13th 2009, 04:20 nini $this->Model1->set($this->data);
# Sep 13th 2009, 04:20 nini HardPhuck: use in your controller:
# Sep 13th 2009, 04:13 HardPhuck will that show validation errors for both when i click submit?
# Sep 13th 2009, 04:12 Jippi HardPhuck: saveAll
# Sep 13th 2009, 04:10 HardPhuck i have a form that saves two models, can i validate and show errors for both at the same time?
# Sep 13th 2009, 03:16 foofoo np
# Sep 13th 2009, 03:16 Hiall ty BlackIce and foofoo