Log message #111922

# At Username Text
# Aug 8th 2008, 13:43 flzz hey all, is there any way to specify the name of a sequence a model should use? like var $primaryKey = 'foo'; var $primaryKeySeq ='badly_named_seq'
# Aug 8th 2008, 13:43 tbranyen zeen: Sweet.
# Aug 8th 2008, 13:43 infantigniter tom_mk: perhaps someone with more experience will correct me but i think if you don't have any OR conditions you can get rid of the 'and' array
# Aug 8th 2008, 13:43 tom_mk any1?
# Aug 8th 2008, 13:43 linked_ TommyO: yes sir, i already corrected it, still missing layout.
# Aug 8th 2008, 13:43 agentbob AD7six: ok, well thanks for the help anyhow. query works great now
# Aug 8th 2008, 13:42 tom_mk i trying to fetch out all the row that AVATAR field is not null, and in the same time, id must not equal to 290,293
# Aug 8th 2008, 13:42 TommyO linked_: earlier you had $this->$layout = 'xml'; which is not the same as $this->layout = 'xml';
# Aug 8th 2008, 13:42 AD7six agentbob: well that would be rejected anyway the book is a place for answers not links to out of date info.
# Aug 8th 2008, 13:41 linked_ TommyO: er...i guess :)
# Aug 8th 2008, 13:41 tom_mk any1 can help me look thru?
# Aug 8th 2008, 13:41 agentbob AD7six: it was your suggestion to add in the part about nested OR/LIKE.. was just going to add link to the groups thread
# Aug 8th 2008, 13:41 moelee who is going to cakephp workshop in raleigh here? anyone?
# Aug 8th 2008, 13:41 linked_ TommyO: but $this->layout = 'xml'; still can't be found by cakephp
# Aug 8th 2008, 13:41 TommyO linked_: oh i see :) yeah, that's not super clear is it?
# Aug 8th 2008, 13:41 tom_mk it's just 3-4 lines
# Aug 8th 2008, 13:41 tom_mk http://bin.cakephp.org/view/1956916747
# Aug 8th 2008, 13:41 tom_mk i think i have something wrong with my condition statement
# Aug 8th 2008, 13:41 AD7six agentbob: why would you edit the 1.1 manual
# Aug 8th 2008, 13:41 zeen i need lots of beta testers :)
# Aug 8th 2008, 13:41 linked_ TommyO: i'm sorry, i misread it it. it says "Three other layouts–xml, js, and rss–exist" tsk.. i took it as layouts-xml. my wrong.
# Aug 8th 2008, 13:41 zeen tbranyen, will let you know when it's avaliable. it'll be on google code
# Aug 8th 2008, 13:40 tom_mk hellooo
# Aug 8th 2008, 13:40 agentbob AD7six: http://manual.cakephp.org/edit/312/models
# Aug 8th 2008, 13:40 agentbob AD7six: models in 1.1
# Aug 8th 2008, 13:40 TommyO linked_: if you don't mind I'd like to see where in the manual so I can straighten it out
# Aug 8th 2008, 13:39 mil hold on, thanks
# Aug 8th 2008, 13:39 mil I'll bin
# Aug 8th 2008, 13:39 mil okay, oaky
# Aug 8th 2008, 13:39 teknoid mil: is that not what you wanted?
# Aug 8th 2008, 13:39 AD7six it only takes a couple of minutes to do what it's telling you.
# Aug 8th 2008, 13:39 AD7six agentbob: it doesn't allow propogation of bad habits - what section.
# Aug 8th 2008, 13:39 TommyO mil: what EXACTLY does it create? as in: bin the source generated
# Aug 8th 2008, 13:39 infantigniter lol, i did, i just don't remember everything. and somewhere along the line i developed a fear of using save() for updating. thanks
# Aug 8th 2008, 13:39 linked_ TommyO: er, just got it from the manual
# Aug 8th 2008, 13:38 agentbob AD7six: can't edit the manual btw... complains to me to create subsections instead of headers in content... the whole model section is composed of headers :|
# Aug 8th 2008, 13:38 linked_ AD7six: geez, i think i should get some sleep...sorry
# Aug 8th 2008, 13:38 mil thanks, btw, yeah, it creates a textarea
# Aug 8th 2008, 13:38 AD7six infantigniter: of course have you not done the blog tutorial yet?
# Aug 8th 2008, 13:38 TommyO linked_: and why the 'layouts-xml' and not just 'xml'
# Aug 8th 2008, 13:38 teknoid infantigniter: save() will do either insert or update