Log message #111396

# At Username Text
# Aug 8th 2008, 09:44 AD7six mguezuraga: hey. I haven't yet but I'm sure they are perfect. thanks.
# Aug 8th 2008, 09:44 gwoo to allow for ternary
# Aug 8th 2008, 09:44 teknoid FunkyWeasel: app model should not have any tables... what exactly are you doing?
# Aug 8th 2008, 09:44 gwoo which were recently changed
# Aug 8th 2008, 09:44 NOSLOW yes, sorry
# Aug 8th 2008, 09:44 gwoo not convention
# Aug 8th 2008, 09:44 gwoo NOSLOW: you mean coding standards
# Aug 8th 2008, 09:44 mguezuraga AD7six: did you check the diffs I mailed you?
# Aug 8th 2008, 09:44 freebox2 gwoo: you have an version to 1.2?
# Aug 8th 2008, 09:44 NOSLOW gwoo: uses the ternary if
# Aug 8th 2008, 09:43 FunkyWeasel Hrm, any idea how I can wring up more debug information from the less than useful: "Error: Database table cake_app_models for model AppModel was not found." i.e. which table is missing?
# Aug 8th 2008, 09:43 gwoo NOSLOW: no following convention?
# Aug 8th 2008, 09:43 __mork teknoid: in fact a friend worked on the files. he's using windows (italian local.), I do ubuntu
# Aug 8th 2008, 09:43 kamalcom thnx
# Aug 8th 2008, 09:43 freebox2 output: WHERE `Piada`.`Titulo` = 'LIKE b%'
# Aug 8th 2008, 09:43 teknoid __mork: yeah, try to upgrade to a more recent build
# Aug 8th 2008, 09:43 gwoo hi kamalcom
# Aug 8th 2008, 09:43 Martz kamalcom: hi o/
# Aug 8th 2008, 09:43 NOSLOW which, BTW, is not following convention
# Aug 8th 2008, 09:43 gwoo need to update the tutorial
# Aug 8th 2008, 09:43 gwoo freebox2: 1.2 is now different
# Aug 8th 2008, 09:43 kamalcom i'm new to this beautiful community
# Aug 8th 2008, 09:43 NOSLOW this line seems to be the culprit: $data = (($type == 'belongsTo') ? Inflector::underscore($assocKey) : Inflector::singularize($this->table)) . '_id';
# Aug 8th 2008, 09:42 freebox2 gwoo: the problem is with this line: $base = array($model.'.'.$field => 'LIKE %'.$data[$model][$field].'%');
# Aug 8th 2008, 09:42 gwoo __mork: you are using an old version of code
# Aug 8th 2008, 09:42 kamalcom Hi everybody
# Aug 8th 2008, 09:42 gwoo but its needed for some joins i think
# Aug 8th 2008, 09:42 jerry_and_tom var $helpers = array('Html');
# Aug 8th 2008, 09:42 gwoo honestly, i dont even know why we set it as anything
# Aug 8th 2008, 09:42 teknoid jerry_and_tom: just include it in the helpers array
# Aug 8th 2008, 09:42 __mork teknoid: 1.2.0.7125
# Aug 8th 2008, 09:42 gwoo you want the id to be set to id
# Aug 8th 2008, 09:42 gwoo you have more than 2 fields
# Aug 8th 2008, 09:42 gwoo NOSLOW: it sounds like your scenario
# Aug 8th 2008, 09:42 jerry_and_tom can somebody tell me how i can use a html helper inside my own helper ... i'v already listet it like this in my helper class ... $restStartDate = mktime(0, 0, 0, date("m",$date) , $prevday+1, date("Y",$date));
# Aug 8th 2008, 09:41 NOSLOW gwoo: I think the problem is a little deeper...
# Aug 8th 2008, 09:41 gwoo oh man, people listening to mariano again
# Aug 8th 2008, 09:41 jerry_and_tom hi guys
# Aug 8th 2008, 09:41 gwoo NOSLOW: you want this back? if (count($this->{$joinClass}->_schema) > 2)
# Aug 8th 2008, 09:41 NOSLOW I borrowed that term from Mariano's blog post: http://www.cricava.com/blogs/index.php?blog=6andtitle=modelizing_habtm_join_tables_in_cakephp_andmore=1andc=1andtb=1andpb=1
# Aug 8th 2008, 09:40 _nate_ gwoo: that was that thing we were in the middle of fixing