Log message #2300962

# At Username Text
# Sep 22nd 2011, 21:58 scoutmstershke use bind model
# Sep 22nd 2011, 21:57 diverdude My database blows completely up in size, in terms of table counts. This is because of numerous HABTM relations. Is there some trick to reduce the number of tables but still keep the HABTM relationships?
# Sep 22nd 2011, 21:45 mdunham918_ cpgo: that did not work
# Sep 22nd 2011, 21:44 mdunham918_ thanks cpgo
# Sep 22nd 2011, 21:44 cpgo /browse/*
# Sep 22nd 2011, 21:44 mdunham918_ NoReGreT: use loggedIn() ?
# Sep 22nd 2011, 21:44 mdunham918_ i want chicken/rolls
# Sep 22nd 2011, 21:44 mdunham918_ how do i tell a cake route i want everything after /browse/ sent to browser($category); right now it only sends the first param like /browser/chicken i get chicken but if i do /browser/chicken/rolls i still only get chicken
# Sep 22nd 2011, 21:44 NoReGreT how can I disable the "invalid login" flash message in login() ? the thing is taht i'm checking in login() if a user is already logged in, if he's logged in then flash a message, without any flash error message...any ideas ?
# Sep 22nd 2011, 21:43 mdunham918_ hey guys
# Sep 22nd 2011, 21:38 Vaidotas thanks :)
# Sep 22nd 2011, 21:38 cpgo in the model set the displayField to question
# Sep 22nd 2011, 21:37 Vaidotas i want to show question field
# Sep 22nd 2011, 21:37 Vaidotas now there isn`t such a field, so it is showing IDS
# Sep 22nd 2011, 21:37 Vaidotas then in options list it would show this title or name
# Sep 22nd 2011, 21:37 Vaidotas if it has field "title" or "name"
# Sep 22nd 2011, 21:37 Vaidotas id and question
# Sep 22nd 2011, 21:37 Vaidotas my table has two fields
# Sep 22nd 2011, 21:37 Vaidotas no
# Sep 22nd 2011, 21:36 cpgo you want both the name and value to be the same?
# Sep 22nd 2011, 21:36 Vaidotas you understand what i mean? :)
# Sep 22nd 2011, 21:36 Vaidotas but i need to get field "question"
# Sep 22nd 2011, 21:36 Vaidotas instead of TEXT i get ID
# Sep 22nd 2011, 21:36 Vaidotas <select><option> TEXT</option>
# Sep 22nd 2011, 21:36 cpgo input*
# Sep 22nd 2011, 21:36 cpgo field('name', array('selected' => 'the_value_you_want_selected');
# Sep 22nd 2011, 21:35 cpgo and you want to set the selected option
# Sep 22nd 2011, 21:35 Vaidotas yes
# Sep 22nd 2011, 21:35 cpgo Vaidotas, are you talking about a select element?
# Sep 22nd 2011, 21:28 Vaidotas its not title or name
# Sep 22nd 2011, 21:28 Vaidotas how to set which field of options to show?
# Sep 22nd 2011, 21:27 Vaidotas i have input with options
# Sep 22nd 2011, 21:14 NoReGreT how can I disable the "invalid login" flash message in login() ? the thing is taht i'm checking in login() if a user is already logged in, if he's logged in then flash a message, without any flash error message...any ideas ?
# Sep 22nd 2011, 21:05 Kanibal *uses
# Sep 22nd 2011, 21:05 Kanibal There was an empty var $users = array(); in my AppController
# Sep 22nd 2011, 21:04 Kanibal But it seems I fixed the problem
# Sep 22nd 2011, 21:04 Kanibal yup.
# Sep 22nd 2011, 21:04 TooMuchCaffeine did you bake models?
# Sep 22nd 2011, 21:02 Kanibal Fatal error: Call to undefined method stdClass::find() in /mnt/hgfs/htdocs/project1/cake/libs/controller/controller.php on line 1204
# Sep 22nd 2011, 21:02 TooMuchCaffeine stack trace*
# Sep 22nd 2011, 21:01 TooMuchCaffeine what's the stack?