# |
Aug 8th 2008, 16:29 |
aarongustafson |
JOIN `keywords` ON `keywords_works`.`keyword_id` = `keywords`.`id` |
# |
Aug 8th 2008, 16:29 |
aarongustafson |
FROM `keywords_works` |
# |
Aug 8th 2008, 16:29 |
aarongustafson |
teknoid: here's the SQL: $sql = "DELETE `keywords_works` |
# |
Aug 8th 2008, 16:28 |
aarongustafson |
me either |
# |
Aug 8th 2008, 16:28 |
teknoid |
aarongustafson: not sure, never seen this happen |
# |
Aug 8th 2008, 16:28 |
zmonteca |
teknoid: is there any configuration stuff that i might be missing regarding the ajaxhelper? why would my response body be empty every time? |
# |
Aug 8th 2008, 16:28 |
aarongustafson |
teknoid: single quotes became and#39; and double quotes became andquot; |
# |
Aug 8th 2008, 16:27 |
M4ngoB00M |
teknoid - its just that it seems I have to manually "cake bake all tablename" and then answer a bunch of questions for every table. I have 60 tables and I want to know if there is a way for me to write a single script that I can one-click to bake everything at once from a schema... |
# |
Aug 8th 2008, 16:27 |
vudew |
my form was fuckedu p |
# |
Aug 8th 2008, 16:27 |
aarongustafson |
same |
# |
Aug 8th 2008, 16:27 |
teknoid |
aarongustafson: have you tried double quotes? |
# |
Aug 8th 2008, 16:27 |
vudew |
ah ha! |
# |
Aug 8th 2008, 16:26 |
aarongustafson |
2: I am writing a little custom SQL for a model and (for some reason) my single quotes (around string values) are being converted to html entities and causing the query to fail. is it because I'm building the query as a string ($sql) and then passing that to $this->query()? |
# |
Aug 8th 2008, 16:26 |
yoris |
teknoid, let me explain myself a little better with an example |
# |
Aug 8th 2008, 16:25 |
yoris |
teknoid, ok the thing is that i have to save a csv (previously transforming each record to the respective model) each row is a record that contemplates 3 models |
# |
Aug 8th 2008, 16:24 |
teknoid |
yoris: what's the problem? |
# |
Aug 8th 2008, 16:24 |
yoris |
hello everyone, im having some trouble saving multiple records at once in las stable rls of cake can anyone give me a hand with this? |
# |
Aug 8th 2008, 16:24 |
teknoid |
M4ngoB00M: cake bake is not fast enough? |
# |
Aug 8th 2008, 16:23 |
M4ngoB00M |
2: newbie here - getting started with bake. read the docs and searched for this but cant find a FAST way to bake everything for my 60 table DB ... anyone? |
# |
Aug 8th 2008, 16:23 |
teknoid |
CrazyTux[m]: sometimes you need, sometimes you don't... but it really makes life a lot easier |
# |
Aug 8th 2008, 16:22 |
teknoid |
CrazyTux[m]: being very selective in what models you get, and ability to pass conditions to related models |
# |
Aug 8th 2008, 16:22 |
CrazyTux[m] |
teknoid, if I can do it with just find() ? |
# |
Aug 8th 2008, 16:22 |
CrazyTux[m] |
teknoid, what would the purpose be of containable, exactly |
# |
Aug 8th 2008, 16:20 |
vudew |
why would $this->data hit Auth empty? |
# |
Aug 8th 2008, 16:19 |
teknoid |
Azhi_Dahaka_: pr($this->data) and see |
# |
Aug 8th 2008, 16:19 |
Azhi_Dahaka_ |
so, i guess that i just access the term via $this->data['LOL'] |
# |
Aug 8th 2008, 16:19 |
teknoid |
Azhi_Dahaka_: then pass a 'label' key |
# |
Aug 8th 2008, 16:19 |
unigue_ |
"label" => false |
# |
Aug 8th 2008, 16:18 |
Azhi_Dahaka_ |
the randomfield is called LOL, so I'm getting a LOL label... i want to wipe that label |
# |
Aug 8th 2008, 16:18 |
teknoid |
Azhi_Dahaka_: what's a LOL label? |
# |
Aug 8th 2008, 16:18 |
M4ngoB00M |
newbie here - getting started with bake. read the docs and searched for this but cant find a FAST way to bake everything for my 60 table DB ... anyone? |
# |
Aug 8th 2008, 16:17 |
aarongustafson |
cough:: |
# |
Aug 8th 2008, 16:17 |
teknoid |
CrazyTux[m]: i don't think you are paying attention to the manual ;) |
# |
Aug 8th 2008, 16:17 |
Azhi_Dahaka_ |
tried that... but now i'm getting a LOL label... :S |
# |
Aug 8th 2008, 16:17 |
teknoid |
CrazyTux[m]: you can, you should specify the fields key like you would in a regular find() call... |
# |
Aug 8th 2008, 16:17 |
vudew |
i found in auth.php where passwords should be hashed and $this->Data is coming back empty |
# |
Aug 8th 2008, 16:17 |
teknoid |
Azhi_Dahaka_: $form->input('ModelName.somerandomfield'); |
# |
Aug 8th 2008, 16:17 |
CrazyTux[m] |
teknoid, so I can't contain down to fields, only to model level? |
# |
Aug 8th 2008, 16:16 |
Azhi_Dahaka_ |
i know the query logic... but i don't know how to put an input box untied from a field |
# |
Aug 8th 2008, 16:16 |
M4ngoB00M |
hi |
# |
Aug 8th 2008, 16:16 |
teknoid |
CrazyTux[m]: where in the book does it say to contain a model field? |