# |
Oct 22nd 2009, 13:32 |
dogmatic69 |
nope.. tinyint(1) |
# |
Oct 22nd 2009, 13:32 |
joeb |
Or, as we like to call them, boolean. |
# |
Oct 22nd 2009, 13:32 |
joeb |
tinyint len(1) default 0 are good for Y/N |
# |
Oct 22nd 2009, 13:31 |
jessupx |
why? they are good for Y/N |
# |
Oct 22nd 2009, 13:31 |
dogmatic69 |
*supported |
# |
Oct 22nd 2009, 13:31 |
dogmatic69 |
jessupx: enums are not suported |
# |
Oct 22nd 2009, 13:31 |
dogmatic69 |
saw that on urban dictionary today II = pause longer than brb |
# |
Oct 22nd 2009, 13:31 |
markstory |
because they are evil. |
# |
Oct 22nd 2009, 13:31 |
joeb |
ENUMs often spawn bad practices |
# |
Oct 22nd 2009, 13:31 |
markstory |
enum is just not supported |
# |
Oct 22nd 2009, 13:31 |
markstory |
its not a problen |
# |
Oct 22nd 2009, 13:30 |
jessupx |
anyone seen a problem when using the bake script that it cant deal with ENUMs? |
# |
Oct 22nd 2009, 13:30 |
dogmatic69 |
P |
# |
Oct 22nd 2009, 13:30 |
dogmatic69 |
you should say II |
# |
Oct 22nd 2009, 13:30 |
dogmatic69 |
ok |
# |
Oct 22nd 2009, 13:30 |
joeb |
Aha! |
# |
Oct 22nd 2009, 13:30 |
markstory |
be back later. |
# |
Oct 22nd 2009, 13:30 |
joeb |
Be back later. |
# |
Oct 22nd 2009, 13:30 |
dogmatic69 |
bbl? |
# |
Oct 22nd 2009, 13:29 |
alan|macbook |
dogmatic69 : bbl |
# |
Oct 22nd 2009, 13:29 |
alan|macbook |
dogmatic69 : still doesn't work : same notice... |
# |
Oct 22nd 2009, 13:29 |
alan|macbook |
ACTION really need to eat... |
# |
Oct 22nd 2009, 13:29 |
zyro |
damn |
# |
Oct 22nd 2009, 13:28 |
zyro |
dogmatic69: kinda really is a problem: https://trac.cakephp.org/ticket/6049 ... wontfix |
# |
Oct 22nd 2009, 13:24 |
dogmatic69 |
well the models have controllers |
# |
Oct 22nd 2009, 13:23 |
jcrawford |
dogmatic69 i was talking about controllers not sure where models came into play |
# |
Oct 22nd 2009, 13:21 |
dogmatic69 |
just cant use them together |
# |
Oct 22nd 2009, 13:21 |
dogmatic69 |
but i have a site with 2 Group models |
# |
Oct 22nd 2009, 13:21 |
dogmatic69 |
jcrawford: you cant have /app/plugins/app_controller/ |
# |
Oct 22nd 2009, 13:21 |
jcrawford |
http://book.cakephp.org/view/116/Plugin-Controllers <-- second paragraph |
# |
Oct 22nd 2009, 13:20 |
jcrawford |
dogmatic69 i am talking about object named colliding :) such as an app having a UsersController and a plugin also having a UsersController |
# |
Oct 22nd 2009, 13:20 |
dogmatic69 |
if you call a model in a plugin from another plugin or the normal /app/models you need Plugin.Model |
# |
Oct 22nd 2009, 13:19 |
jcrawford |
this is straight from the book "While it isn't required, it is recommended that you name your plugin controllers something relatively unique in order to avoid namespace conflicts with parent applications." |
# |
Oct 22nd 2009, 13:19 |
dogmatic69 |
jcrawford: models |
# |
Oct 22nd 2009, 13:18 |
dogmatic69 |
alan|macbook: i think that is all you are missing |
# |
Oct 22nd 2009, 13:18 |
jcrawford |
just controllers/views that are in the plugins |
# |
Oct 22nd 2009, 13:18 |
Batuchi |
me remembers MTV Diary.. "you think you know but you have know idea" lol... cakephp Diary |
# |
Oct 22nd 2009, 13:18 |
jcrawford |
well oddly enough all models are in the app not in the plugins |
# |
Oct 22nd 2009, 13:18 |
dogmatic69 |
jcrawford: when you do not prefix the name cake builds the model on the fly and you loose your custom queries and relations |
# |
Oct 22nd 2009, 13:18 |
jcrawford |
dogmatic69 i just read that in the book.... |
# |
Oct 22nd 2009, 13:18 |
alan|macbook |
dogmatic : here is the debug of $stuff : http://bin.cakephp.org/view/1735825405 |