# |
Aug 8th 2008, 01:03 |
thestaff |
I'm struggling with generateList |
# |
Aug 8th 2008, 01:02 |
thestaff |
infantigniter, do you know how you select one column of a table without doublon ? |
# |
Aug 8th 2008, 00:49 |
Chezz |
Mathachew : it is fixed in the nightly ... PG works fine with update now |
# |
Aug 8th 2008, 00:35 |
linked_ |
quick question: is there a need for me to define params in my controller function: showlist() if i'll be using named parameters $this->passedArgs[ |
# |
Aug 8th 2008, 00:34 |
linked_ |
greetings |
# |
Aug 8th 2008, 00:28 |
infantigniter |
oh? why would the docs be so misleading |
# |
Aug 8th 2008, 00:26 |
thestaff |
aparently there is postcondition stuff for 1.1 |
# |
Aug 8th 2008, 00:26 |
infantigniter |
i've tried several not-so-pretty solutions that lead to even-less-pretty errors, because cake is clever in blocking all my injected quotes from sneaking in |
# |
Aug 8th 2008, 00:26 |
infantigniter |
thestaff: yup. but cakephp should be autodetecting that |
# |
Aug 8th 2008, 00:25 |
thestaff |
still needs quote tho |
# |
Aug 8th 2008, 00:25 |
infantigniter |
the parent_name field is a varchar(16) field |
# |
Aug 8th 2008, 00:25 |
thestaff |
hehe :) |
# |
Aug 8th 2008, 00:25 |
infantigniter |
thestaff: exactly. |
# |
Aug 8th 2008, 00:25 |
thestaff |
why only games doesn't have qotes ? |
# |
Aug 8th 2008, 00:23 |
infantigniter |
http://bin.cakephp.org/view/483473751 this is the error cake is giving me |
# |
Aug 8th 2008, 00:23 |
infantigniter |
it's up to whatever you think will be the most painless. personally i'd check out how easy option b would be -- that is, updating parts of your cake files so that post conditions will work |
# |
Aug 8th 2008, 00:22 |
thestaff |
I see |
# |
Aug 8th 2008, 00:22 |
infantigniter |
but then you're perhaps just better off making it from scratch. |
# |
Aug 8th 2008, 00:22 |
infantigniter |
and its references, so you can basically make your own implementation of it for 1.1 |
# |
Aug 8th 2008, 00:21 |
infantigniter |
well look at choice (b) then :) or (c) build your own helper. actually it might be easier than all of those ideas to just build your own helper while looking at the coding for postConditions |
# |
Aug 8th 2008, 00:21 |
infantigniter |
or (b) you could check what that postConditions stuff references that is v1.2-specific, and go into the 1.2 source files and update those references. could end up making you pull your hair out, might be really really easy and be a couple lines |
# |
Aug 8th 2008, 00:21 |
thestaff |
which is free but restained |
# |
Aug 8th 2008, 00:21 |
thestaff |
well the first reason I use 1.1 was cuz it was the only one compatible with the server I use |
# |
Aug 8th 2008, 00:20 |
infantigniter |
thestaff: well, two options. (a) politically correct suggestion, migrate to 1.2. it's not hard to do and there's good articles on how. most of your old stuff will work, and those that are severe will generate errors and you'll be able to fix them |
# |
Aug 8th 2008, 00:19 |
thestaff |
but i'm 90%done |
# |
Aug 8th 2008, 00:19 |
thestaff |
yeah i shouda started with 1.2 |
# |
Aug 8th 2008, 00:19 |
thestaff |
yeah but my projet is almost done |
# |
Aug 8th 2008, 00:19 |
infantigniter |
thestaff: have you done a lot of development in 1.1 already? |
# |
Aug 8th 2008, 00:18 |
infantigniter |
thestaff: i would recommend migrating to 1.2 in any case |
# |
Aug 8th 2008, 00:17 |
thestaff |
does this mean I have to upgrade ? |
# |
Aug 8th 2008, 00:17 |
thestaff |
how by the way what you gave me works only for 1.2 |
# |
Aug 8th 2008, 00:16 |
thestaff |
like what ? |
# |
Aug 8th 2008, 00:16 |
infantigniter |
it's so aggravating, the SQL won't work cause of it |
# |
Aug 8th 2008, 00:15 |
infantigniter |
now, i know everybody's dead, but how the hell can i make cake stop not-putting quotes around my varchar conditions |
# |
Aug 8th 2008, 00:15 |
infantigniter |
thestaff: http://book.cakephp.org/view/432/postconditions there you go exactly what the doctor ordered |
# |
Aug 8th 2008, 00:15 |
thestaff |
kool |
# |
Aug 8th 2008, 00:14 |
infantigniter |
thestaff: i just read about this today one second |
# |
Aug 8th 2008, 00:12 |
thestaff |
everybody dead here ? |
# |
Aug 8th 2008, 00:10 |
thestaff |
but it'd be nice to have something like a model reader to check my data and repost it |
# |
Aug 8th 2008, 00:09 |
thestaff |
meaning myself without helper |
# |
Aug 8th 2008, 00:09 |
thestaff |
I'm about to do it by hand |