Log message #2299540

# At Username Text
# 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
# Sep 22nd 2011, 09:00 rchavik diverdude, Section58> an action would look like index() instead of admin_index()
# Sep 22nd 2011, 08:59 diverdude ?
# Sep 22nd 2011, 08:59 Section58 ACTION can't belieave he wrote that out
# Sep 22nd 2011, 08:59 Section58 an action would look like index() instead of admin_index()
# Sep 22nd 2011, 08:58 Section58 public is no prefix
# Sep 22nd 2011, 08:57 diverdude *prefix
# Sep 22nd 2011, 08:56 diverdude so public = no prefic or public prefix?
# Sep 22nd 2011, 08:56 diverdude guessing crud for public :)
# Sep 22nd 2011, 08:56 rchavik admin -> creates the crud actions for admin prefix, public -> well, can you guess ?
# Sep 22nd 2011, 08:55 diverdude rchavik, so what does the public admin in "cake bake controller users public admin " do? making admin functionality or?
# Sep 22nd 2011, 08:54 diverdude rchavik, ahh yeah ok...might be a better idea
# Sep 22nd 2011, 08:54 rchavik nah.. use git or scm
# Sep 22nd 2011, 08:53 diverdude rchavik, i was also just thinking as a "safety belt". To prevent myself from accidently baking new models and overwrite code that i have written
# Sep 22nd 2011, 08:53 rchavik what is your use case?
# Sep 22nd 2011, 08:52 rchavik the only time i needed to extend is when i needed to customize the User model..
# Sep 22nd 2011, 08:51 diverdude hmm ok..why is that?
# Sep 22nd 2011, 08:51 rchavik not impossible, unnecessary
# Sep 22nd 2011, 08:51 diverdude why does the fact that you use plugins make it impossible for you to extend models?
# Sep 22nd 2011, 08:50 rchavik i use plugins, so no. but i extended User model