Log message #1033745

# At Username Text
# Sep 13th 2009, 08:18 HardPhuck i am using the hidden input here
# Sep 13th 2009, 08:18 nini HardPhuck: they using hidden input. didn't you seen it?
# Sep 13th 2009, 08:17 nini HardPhuck: as in manual http://book.cakephp.org/view/85/Saving-Related-Model-Data-HABTM
# Sep 13th 2009, 08:16 nini yes, becouse you should pass firm.id in your form only, not the full array
# Sep 13th 2009, 08:16 HardPhuck there
# Sep 13th 2009, 08:16 HardPhuck only the first value should be inserted other belong to the Firm model and should be inserted theer
# Sep 13th 2009, 08:15 HardPhuck line 10 is wrong
# Sep 13th 2009, 08:14 HardPhuck http://bin.cakephp.org/view/1983870909
# Sep 13th 2009, 08:11 primeminister damn wrong room
# Sep 13th 2009, 08:11 primeminister stratos?
# Sep 13th 2009, 08:10 nini could you paste sql queries that it produces?
# Sep 13th 2009, 08:08 HardPhuck and assigning it to a firm that is already in the database
# Sep 13th 2009, 08:07 HardPhuck yes
# Sep 13th 2009, 08:07 nini HardPhuck: are you creating a new user?
# Sep 13th 2009, 08:01 HardPhuck i have, several times
# Sep 13th 2009, 08:01 HardPhuck and the i look at the users_firms table and there is a number of entries with user_id 1 and firm_id holding different data that should be in firms table
# Sep 13th 2009, 08:01 nini HardPhuck: read habtm manual carefully
# Sep 13th 2009, 07:59 HardPhuck nini: i then do $this->User->save($this->data);
# Sep 13th 2009, 07:57 ta-Labs they stink, sorry
# Sep 13th 2009, 07:57 ta-Labs the ones on cakephp.org are outdated
# Sep 13th 2009, 07:57 ta-Labs is there any screen cast website like "railscast"" but for cakephp?
# Sep 13th 2009, 07:56 HardPhuck User HABTM Firm
# Sep 13th 2009, 07:55 HardPhuck http://bin.cakephp.org/view/1111639741
# Sep 13th 2009, 07:54 nini HardPhuck: paste your debug data ~bin
# Sep 13th 2009, 07:54 HardPhuck don't see why
# Sep 13th 2009, 07:53 HardPhuck debug data looks fine, but when i save, foreign model data is saved in the join table
# Sep 13th 2009, 07:53 HardPhuck hmm, i have a form that updates one model and creates another
# 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?