Log message #2300639

# At Username Text
# Sep 22nd 2011, 17:28 ujjain ScottO_: right, I thought so, I never work like that, but it seems an easy way to do things instead of a find('all') with conditions.
# Sep 22nd 2011, 17:28 ScottO_ ujjain: try $this->Answer->findByQuestionId($id);
# Sep 22nd 2011, 17:27 ScottO_ ujjain: it means it cant find that model method
# Sep 22nd 2011, 17:25 ujjain does that mean Cake understands it but the model is wrong?
# Sep 22nd 2011, 17:24 ujjain I think it doesn't work, Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'findAnswerbyQuestionId' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
# Sep 22nd 2011, 17:24 delfis very smart.
# Sep 22nd 2011, 17:23 ujjain delfis: that does not work either.
# Sep 22nd 2011, 17:23 robcowie thats what I thought, but using the examples on the above linked post did not work, I check the bug tracker link as well
# Sep 22nd 2011, 17:22 TooMuchCaffeine robcowie: correction. if linked model is hasMany then saveAll recursively calls itself
# Sep 22nd 2011, 17:21 delfis uppercase I
# Sep 22nd 2011, 17:21 delfis Id
# Sep 22nd 2011, 17:21 ujjain I had $this->Question->find... but that does not find User's for Answers.
# Sep 22nd 2011, 17:21 diverdude TooMuchCaffeine, hey, did you ever have problems with "segmentation fault" in cakephp?
# Sep 22nd 2011, 17:21 ujjain I never used find blabla by blabla, how can I make this work? $this->set('answers', $this->Question->Answer->findAnswerbyQuestionid(null, $id));
# Sep 22nd 2011, 17:20 delfis and can tell his experience :p
# Sep 22nd 2011, 17:20 delfis i know that someone have tried something
# Sep 22nd 2011, 17:19 delfis Dunhamzzz, google won`t give me answer from experience
# Sep 22nd 2011, 17:19 Dunhamzzz !tell delfis about google jQueryui calendar
# Sep 22nd 2011, 17:19 Dunhamzzz jqueryui
# Sep 22nd 2011, 17:19 delfis jquery i think
# Sep 22nd 2011, 17:19 delfis )
# Sep 22nd 2011, 17:19 delfis ?
# Sep 22nd 2011, 17:19 delfis can you suggest me simple calendar
# Sep 22nd 2011, 17:16 TheWarden have a good one
# Sep 22nd 2011, 17:16 scoutmstershke I'm going to lunch bitches
# Sep 22nd 2011, 17:16 delfis ;)
# Sep 22nd 2011, 17:15 scoutmstershke I always do
# Sep 22nd 2011, 17:15 scoutmstershke I know
# Sep 22nd 2011, 17:15 delfis scoutmstershke you left mistake :p
# Sep 22nd 2011, 17:15 delfis i want that
# Sep 22nd 2011, 17:15 delfis )
# Sep 22nd 2011, 17:15 delfis TooMuchCaffeine thank you
# Sep 22nd 2011, 17:15 TooMuchCaffeine that would set correct nesting for saveall
# Sep 22nd 2011, 17:14 TooMuchCaffeine and next record would be 'ModelName.1.id
# Sep 22nd 2011, 17:14 scoutmstershke delfi http://bin.cakephp.org/view/1245950997
# Sep 22nd 2011, 17:14 TooMuchCaffeine input('ModelName.0.id');
# Sep 22nd 2011, 17:13 delfis for id example
# Sep 22nd 2011, 17:13 delfis $this->Form->input('what now?
# Sep 22nd 2011, 17:13 delfis id
# Sep 22nd 2011, 17:12 TooMuchCaffeine set value?
# Sep 22nd 2011, 17:12 delfis don`t know how to set ID