Log message #1110302

# At Username Text
# Oct 22nd 2009, 13:36 markstory I don't like floaty string bits.
# Oct 22nd 2009, 13:36 dogmatic69 lol
# Oct 22nd 2009, 13:36 markstory I wouldn't
# Oct 22nd 2009, 13:35 dogmatic69 markstory: how would you use 'n'
# Oct 22nd 2009, 13:33 markstory or 'n' if you like magic strings.
# Oct 22nd 2009, 13:33 dogmatic69 jessupx: then you just go if( $data['Model']['field'] ) { ...
# Oct 22nd 2009, 13:33 markstory is much easier than if ($thing['confirmed'] == NO) {
# Oct 22nd 2009, 13:33 markstory if ($thing['confirmed') {
# Oct 22nd 2009, 13:33 markstory how is that a problem?
# Oct 22nd 2009, 13:32 dogmatic69 then cake makes nice checkboxes for you
# Oct 22nd 2009, 13:32 jessupx then you have the problem with returning 0 as false rather then n
# Oct 22nd 2009, 13:32 dogmatic69 tinyint(1) == bool
# Oct 22nd 2009, 13:32 markstory soo is boolean.
# 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