# |
Sep 11th 2009, 07:01 |
crayfishuk |
Pants - but true. |
# |
Sep 11th 2009, 07:00 |
crayfishuk |
Eggy_Blastoff: It's working as designed: see https://trac.cakephp.org/ticket/3514 if $uses=array() is assumes no Models - anything else it will automagically add the 'assumed' one |
# |
Sep 11th 2009, 07:00 |
learning_cak |
Eggy_Blastoff please post your controller |
# |
Sep 11th 2009, 06:59 |
Eggy_Blastoff |
wth, it wanted plural form |
# |
Sep 11th 2009, 06:59 |
judaz |
a round of beers for all! |
# |
Sep 11th 2009, 06:59 |
crayfishuk |
You could always just App::import('Model', 'Product'); / $tmpProduct = new Product(); |
# |
Sep 11th 2009, 06:58 |
judaz |
thanks people from #cakephp for your help! |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
crayfishuk: No, it dosn't complain when i do that |
# |
Sep 11th 2009, 06:58 |
judaz |
Ok, project finished and on client's server |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
no |
# |
Sep 11th 2009, 06:58 |
crayfishuk |
Does it do it if $uses = array() |
# |
Sep 11th 2009, 06:58 |
learning_cak |
let us see you controller <Eggy_Blastoff |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
it wants me to create the default model that matches the name of the controller |
# |
Sep 11th 2009, 06:57 |
learning_cak |
naming convention? |
# |
Sep 11th 2009, 06:57 |
Eggy_Blastoff |
i didn't mispell |
# |
Sep 11th 2009, 06:57 |
Eggy_Blastoff |
done |
# |
Sep 11th 2009, 06:57 |
learning_cak |
check the spelling Eggy_Blastoff |
# |
Sep 11th 2009, 06:56 |
Eggy_Blastoff |
*already |
# |
Sep 11th 2009, 06:56 |
Eggy_Blastoff |
*i've done that aleady |
# |
Sep 11th 2009, 06:55 |
Eggy_Blastoff |
i've done that in Xcontroller, but it still wants me to create X table |
# |
Sep 11th 2009, 06:55 |
learning_cak |
hehe |
# |
Sep 11th 2009, 06:55 |
learning_cak |
crayfishuk already posted it, kindly scroll up |
# |
Sep 11th 2009, 06:55 |
learning_cak |
var $uses = array('Ymodel') |
# |
Sep 11th 2009, 06:55 |
Eggy_Blastoff |
for Xcontroller |
# |
Sep 11th 2009, 06:55 |
Eggy_Blastoff |
"Missing database table" |
# |
Sep 11th 2009, 06:54 |
Eggy_Blastoff |
i get an error message when i have Xcontroller use Y model from Ycontroller, i don't want to include X model |
# |
Sep 11th 2009, 06:54 |
learning_cak |
var $uses |
# |
Sep 11th 2009, 06:54 |
crayfishuk |
SNAP! |
# |
Sep 11th 2009, 06:54 |
crayfishuk |
Eggy_Blastoff: yes |
# |
Sep 11th 2009, 06:54 |
learning_cak |
Eggy_Blastoff: yes |
# |
Sep 11th 2009, 06:54 |
learning_cak |
hehe CakeBot triggered; ) |
# |
Sep 11th 2009, 06:54 |
Eggy_Blastoff |
is it possible to have a controller use exclusively a model that is not related to itself? |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
~ask |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
^prob^ |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
Dunno - what's the porb |
# |
Sep 11th 2009, 06:53 |
learning_cak |
crayfishuk: can you help me with my prob? |
# |
Sep 11th 2009, 06:53 |
learning_cak |
is it a trend now? |
# |
Sep 11th 2009, 06:52 |
learning_cak |
hehe.. |
# |
Sep 11th 2009, 06:52 |
crayfishuk |
learning_cak: You looking for a new wife? ;-) |
# |
Sep 11th 2009, 06:49 |
learning_cak |
any filipinos here? |
# |
Sep 11th 2009, 06:47 |
learning_cak |
crayfishuk: have you encountered same problem as mine? |