# |
Aug 8th 2008, 01:25 |
thestaff |
findBySql ? |
# |
Aug 8th 2008, 01:24 |
thestaff |
doesn't work for you ? |
# |
Aug 8th 2008, 01:24 |
thestaff |
how about find > |
# |
Aug 8th 2008, 01:23 |
thestaff |
i'm 1.1 :-( |
# |
Aug 8th 2008, 01:23 |
thestaff |
might be |
# |
Aug 8th 2008, 01:23 |
linked_ |
thestaff: isn't it deprecated in 1.2? |
# |
Aug 8th 2008, 01:22 |
linked_ |
gee...the CakeBot knows my response :) |
# |
Aug 8th 2008, 01:21 |
thestaff |
linked_, generateList() ;-) |
# |
Aug 8th 2008, 01:21 |
linked_ |
hi. how can i make the query "WHERE DATE(date_time_field) = 2007-01-01" in find conditions? |
# |
Aug 8th 2008, 01:20 |
pgcd |
i have a wide-ranging question... if all my models have four fields in common (hidden, deleted, visible_from, visible_to), can I add a method to appModel so that they alway get checked? would that be the cake way? |
# |
Aug 8th 2008, 01:19 |
thestaff |
gwoo, how would you do it ? |
# |
Aug 8th 2008, 01:18 |
thestaff |
and I get a sql error |
# |
Aug 8th 2008, 01:17 |
thestaff |
kinda ugly but works |
# |
Aug 8th 2008, 01:17 |
thestaff |
something like this $locations = $this->Item->generateList(null, null, null,'{n}.Item.location', '{n}.Item.location'); |
# |
Aug 8th 2008, 01:17 |
thestaff |
well I've kind figured it out |
# |
Aug 8th 2008, 01:17 |
gwoo |
ok |
# |
Aug 8th 2008, 01:17 |
thestaff |
1.1 |
# |
Aug 8th 2008, 01:17 |
gwoo |
thestaff: are you using 1.2? |
# |
Aug 8th 2008, 01:16 |
pgcd |
ACTION wonders why lightbox screws up in his page |
# |
Aug 8th 2008, 01:11 |
stabb |
ACTION prepares his olympic incubator |
# |
Aug 8th 2008, 01:03 |
thestaff |
but not sure it'd do the job |
# |
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 |