# |
Sep 11th 2009, 07:10 |
learning_cak |
too late to go back right?? me i already got 800 lines of code on a single controller alon |
# |
Sep 11th 2009, 07:10 |
Eggy_Blastoff |
learning_cak: I wish they had gone with a different framework now. |
# |
Sep 11th 2009, 07:09 |
learning_cak |
the HABTM got me once..very annyed also |
# |
Sep 11th 2009, 07:09 |
learning_cak |
me from 8am to 9pm straight.. |
# |
Sep 11th 2009, 07:09 |
Eggy_Blastoff |
(15 hours * 30 days) = 450 hours on it now |
# |
Sep 11th 2009, 07:09 |
learning_cak |
me too.. |
# |
Sep 11th 2009, 07:08 |
Eggy_Blastoff |
learning_cak: been using cake for a month, as in 15 hour days for a project.. getting deeper and deeper and starting to see more and more flaws. |
# |
Sep 11th 2009, 07:08 |
Eggy_Blastoff |
learning_cak: no kidding; i'm very annoyed; |
# |
Sep 11th 2009, 07:08 |
learning_cak |
Eggy_Blastoff: thats wierd |
# |
Sep 11th 2009, 07:06 |
Eggy_Blastoff |
learning_cak: 1.2.1.8004 |
# |
Sep 11th 2009, 07:05 |
crayfishuk |
learning_cak: Must have missed the first bit - only see a paste with an array in it... |
# |
Sep 11th 2009, 07:05 |
Eggy_Blastoff |
1.2 |
# |
Sep 11th 2009, 07:04 |
learning_cak |
<Eggy_Blastoff : cake version>? |
# |
Sep 11th 2009, 07:03 |
learning_cak |
crayfishuk: got any idea bout my problem? |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
this is highly annoying |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
$uses = array('Users'); worked |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
no, that didn't work |
# |
Sep 11th 2009, 07:02 |
learning_cak |
$uses = array('User'); |
# |
Sep 11th 2009, 07:02 |
Eggy_Blastoff |
learning_cak: users |
# |
Sep 11th 2009, 07:01 |
learning_cak |
whats your table name by the way? |
# |
Sep 11th 2009, 07:01 |
Eggy_Blastoff |
crayfishuk: Apparently not. |
# |
Sep 11th 2009, 07:01 |
learning_cak |
huh?? |
# |
Sep 11th 2009, 07:01 |
Eggy_Blastoff |
learning_cak: It's fixed. It wanted the plural form in uses |
# |
Sep 11th 2009, 07:01 |
learning_cak |
var $uses will really do the trick.. |
# |
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 |