Log message #2299579

# At Username Text
# Sep 22nd 2011, 09:44 dogmatic69 pr(array_keys((array)$this>Profile));
# Sep 22nd 2011, 09:44 dogmatic69 can you see the *ES* at the end?
# Sep 22nd 2011, 09:43 dogmatic69 Profile -> $Childrenstatuses ... you have
# Sep 22nd 2011, 09:43 dogmatic69 Profile -> $Childrenstatus ... should be
# Sep 22nd 2011, 09:43 dogmatic69 dude... if you just read the error you will note the problem... you have error ... Profile::$Childrenstatus does not exist, you defined Profile -> Childrenstatuses
# Sep 22nd 2011, 09:43 diverdude dogmatic69, they are already that?
# Sep 22nd 2011, 09:42 dogmatic69 Profile -> Childrenstatus
# Sep 22nd 2011, 09:42 dogmatic69 models singular, controllers plural
# Sep 22nd 2011, 09:41 dogmatic69 !tell diverdude about conventions
# Sep 22nd 2011, 09:41 dogmatic69 !tell diverdude about convetions
# Sep 22nd 2011, 09:41 diverdude dogmatic69, what do you mean? profiles and childrenstatuses are both plural no?
# Sep 22nd 2011, 09:41 isaqual rchavik: Thanks, I think that is the best way in this case.
# Sep 22nd 2011, 09:40 dogmatic69 diverdude: ^ models are not plural
# Sep 22nd 2011, 09:40 dogmatic69 http://bin.cakephp.org/view/1270416005 line 197
# Sep 22nd 2011, 09:40 francky06l Hi Bakers
# Sep 22nd 2011, 09:40 dogmatic69 that will do
# Sep 22nd 2011, 09:39 diverdude dogmatic69, was that what you were asking for?
# Sep 22nd 2011, 09:37 diverdude Here is generated model http://bin.cakephp.org/view/1270416005 and the other table structure: http://bin.cakephp.org/view/2078923647
# Sep 22nd 2011, 09:36 rchavik isaqual, no.. you'll need to Configure::load() it in the shell
# Sep 22nd 2011, 09:35 dogmatic69 not singular
# Sep 22nd 2011, 09:35 dogmatic69 bin the table structure for the model*s*
# Sep 22nd 2011, 09:35 diverdude the php file?
# Sep 22nd 2011, 09:34 dogmatic69 the other model
# Sep 22nd 2011, 09:34 diverdude dogmatic69, this is the table structure: http://bin.cakephp.org/view/1055359883
# Sep 22nd 2011, 09:32 dogmatic69 bin the table structure for the models
# Sep 22nd 2011, 09:32 dogmatic69 diverdude: what is the fk
# Sep 22nd 2011, 09:32 isaqual rchavik: If yes, that should be most natural way.. imho
# Sep 22nd 2011, 09:31 isaqual rchavik: Settings are stored in db. Does shell tasks get inherited from config file ?
# Sep 22nd 2011, 09:29 diverdude anyone?
# Sep 22nd 2011, 09:27 rchavik isaqual, if you don't need vars from the controller, why not make it a config file ?
# Sep 22nd 2011, 09:23 isaqual rchavik: Maybe youre right
# Sep 22nd 2011, 09:20 diverdude Is Childrenstatus somehow a reserved property or something? I have baked a model of my table called profiles which has a foreignkey, Childrenstatus. I have also baked controller and views with CRUD actions. When i go to URL /profiles/add i get the error Undefined property: Profile::$Childrenstatus [APP/controllers/profiles_controller.php, line 46]
# Sep 22nd 2011, 09:20 rchavik imo, you should refactor so that the settings initialization is in a component
# Sep 22nd 2011, 09:18 isaqual rchavik: Setting i want to use are initialized there. I dont want to repeat same code again..
# Sep 22nd 2011, 09:17 rchavik isaqual, why do you need to import app_controller ?
# Sep 22nd 2011, 09:11 isaqual .. and how to use that ?
# Sep 22nd 2011, 09:11 isaqual how I can importi app controller in my shell task ?
# Sep 22nd 2011, 09:10 diverdude hehe
# Sep 22nd 2011, 09:06 Section58 i was trolling myself
# Sep 22nd 2011, 09:00 diverdude just didnt understand his following comment :)
# Sep 22nd 2011, 09:00 diverdude yeah