Log message #2299878

# At Username Text
# Sep 22nd 2011, 11:19 ujjain DidItAgain: I was reading "The Flat World" (I forgot name), but is Bangalore the IT capital of India?
# Sep 22nd 2011, 11:19 DidItAgain im writing a server consolidator
# Sep 22nd 2011, 11:18 ujjain Yeah, it's supposed to update, especially if you create forms with hidden id field etc.
# Sep 22nd 2011, 11:18 DidItAgain whats that?
# Sep 22nd 2011, 11:18 DidItAgain O_O
# Sep 22nd 2011, 11:18 fenix` DidItAgain: you writing an asset register?
# Sep 22nd 2011, 11:17 ujjain I have no idea, I am not that experienced with Cakephp yet.
# Sep 22nd 2011, 11:17 DidItAgain the book says its supposed to update.. now Im confused
# Sep 22nd 2011, 11:16 DidItAgain while its supposed to update an existing row with the id i passed it
# Sep 22nd 2011, 11:16 DidItAgain it does ujjain
# Sep 22nd 2011, 11:16 DidItAgain yes
# Sep 22nd 2011, 11:15 ujjain DidItAgain: It creates a new entry in MySQL table with formdata with auto-incremeneted id?
# Sep 22nd 2011, 11:15 ujjain Do you guys think that leaving away the submit-button in a search form would be confusing? (http://www.0900alternatief.net/ - the search button is too low, but I am not sure how I should make it prettier.
# Sep 22nd 2011, 11:15 DidItAgain but what I dont get is, why isnt cake updating the record even though id is set?!
# Sep 22nd 2011, 11:14 DidItAgain its not even a working website yet
# Sep 22nd 2011, 11:13 fenix` is there a better way of transporting data between controllers than session->write/read?
# Sep 22nd 2011, 11:13 DidItAgain I understand in cake conventions are required to make good end results
# Sep 22nd 2011, 11:12 fenix` yeah thats the format im used to seeing.
# Sep 22nd 2011, 11:12 dakota form helper does data[ModelName][field_name]
# Sep 22nd 2011, 11:12 fenix` ah
# Sep 22nd 2011, 11:11 dakota fenix`: the form helper does
# Sep 22nd 2011, 11:11 dakota DidItAgain: and then a simple $this->InstalledBase->save($this->data); is needed
# Sep 22nd 2011, 11:11 fenix` dakota: does bake do that by default?
# Sep 22nd 2011, 11:11 dakota DidItAgain: to make it easy you name your post variables "data[server]", "data[vendor]", etc.
# Sep 22nd 2011, 11:10 DidItAgain makes sense
# Sep 22nd 2011, 11:10 DidItAgain hmm
# Sep 22nd 2011, 11:10 dakota ~badcake
# Sep 22nd 2011, 11:10 dakota which is different than bad cake
# Sep 22nd 2011, 11:10 dakota ~tell DidItAgain about goodcake
# Sep 22nd 2011, 11:10 dakota ~tell DidItAgain about good-cake
# Sep 22nd 2011, 11:10 DidItAgain hmm
# Sep 22nd 2011, 11:09 dakota oh and don't forget about fat models, thin controllers :)
# Sep 22nd 2011, 11:09 dakota DidItAgain: that is a lot of repetition I see going on there
# Sep 22nd 2011, 11:09 fenix` thats the manual, 9 times out of 10, the answer is in there.
# Sep 22nd 2011, 11:09 dakota ~tell DidItAgain about dry
# Sep 22nd 2011, 11:09 fenix` http://book.cakephp.org/view/876/The-Manual
# Sep 22nd 2011, 11:08 DidItAgain 1.3
# Sep 22nd 2011, 11:08 fenix` DidItAgain: what version of phpcake are you using?
# Sep 22nd 2011, 11:08 dakota DidItAgain: you should read it
# Sep 22nd 2011, 11:08 dakota DidItAgain: it's all in the book
# Sep 22nd 2011, 11:08 DidItAgain oh..