# |
Oct 22nd 2009, 16:04 |
brookshire |
arz: so you are trying to validate data that you are pulling correct? |
# |
Oct 22nd 2009, 16:03 |
dogmatic69 |
jessica-m: what sql is cake making |
# |
Oct 22nd 2009, 16:03 |
dogmatic69 |
mine is also and it works |
# |
Oct 22nd 2009, 16:03 |
dogmatic69 |
hmm |
# |
Oct 22nd 2009, 16:03 |
arz |
brookshire, yep, i tried validate, tried to use _schema, nothing it just handles any request |
# |
Oct 22nd 2009, 16:02 |
jessica-m |
does that matter? |
# |
Oct 22nd 2009, 16:01 |
jessica-m |
myisam |
# |
Oct 22nd 2009, 16:01 |
brookshire |
but validates should work for every form post |
# |
Oct 22nd 2009, 16:01 |
brookshire |
arz: i don't think it is possible to easily validate data that you pull |
# |
Oct 22nd 2009, 16:01 |
dogmatic69 |
storage engine |
# |
Oct 22nd 2009, 16:00 |
jessica-m |
not sure what you mean by what type of table is it |
# |
Oct 22nd 2009, 16:00 |
jessica-m |
auth_groups_users |
# |
Oct 22nd 2009, 16:00 |
dogmatic69 |
jessica-m: long shot, what type of table is it? |
# |
Oct 22nd 2009, 16:00 |
Ceeram |
lol |
# |
Oct 22nd 2009, 16:00 |
brookshire |
arz: var $validates ? |
# |
Oct 22nd 2009, 15:59 |
jessica-m |
any other ideas why it wouldnt be deleting? |
# |
Oct 22nd 2009, 15:59 |
dogmatic69 |
Ceeram: need sleep |
# |
Oct 22nd 2009, 15:58 |
arz |
Hello All, using Curl model from http://bakery.cakephp.org/articles/view/curl-model (model is tableless), controller name is searches, form input name in view is search, the question is how do i validate input data? |
# |
Oct 22nd 2009, 15:58 |
jessica-m |
i have debug on and i am looking at the queries |
# |
Oct 22nd 2009, 15:58 |
jessica-m |
its not even trying to delete |
# |
Oct 22nd 2009, 15:58 |
jessica-m |
yes! |
# |
Oct 22nd 2009, 15:57 |
Ceeram |
dogmatic69: the channel doesnt have autocomplete ;) : dogmatic69> does cake un and pw have del priv in mysql? |
# |
Oct 22nd 2009, 15:56 |
jessica-m |
its just inserting |
# |
Oct 22nd 2009, 15:56 |
jessica-m |
its never deleting |
# |
Oct 22nd 2009, 15:52 |
jessica-m |
thats kinda the problem i am having |
# |
Oct 22nd 2009, 15:52 |
jessica-m |
https://trac.cakephp.org/ticket/5579 |
# |
Oct 22nd 2009, 15:51 |
jessica-m |
when i update a user to have fewer groups, it isnt deleting the previous groups in the table |
# |
Oct 22nd 2009, 15:50 |
jessica-m |
i can delete users fine |
# |
Oct 22nd 2009, 15:50 |
jessica-m |
yeah |
# |
Oct 22nd 2009, 15:50 |
dogmatic69 |
does cake un and pw have del priv in mysql? |
# |
Oct 22nd 2009, 15:49 |
jessica-m |
yeah |
# |
Oct 22nd 2009, 15:49 |
dogmatic69 |
jessica-m: still the delete? |
# |
Oct 22nd 2009, 15:49 |
jessica-m |
does anyone have any idea why that would happen? i just want to know what i could have done to affect that |
# |
Oct 22nd 2009, 15:47 |
alan|macbook |
i feel like i'm going to have a hard night working... |
# |
Oct 22nd 2009, 15:47 |
alan|macbook |
dogmatic69 : ooookayyyyy |
# |
Oct 22nd 2009, 15:46 |
dogmatic69 |
alan|macbook: you will need to hack the code in the helper :) |
# |
Oct 22nd 2009, 15:45 |
alan|macbook |
dogmatic69 : ok. Now it's time to use this tree helper to generate checkboxes. Any idea about how to do that ? |
# |
Oct 22nd 2009, 15:43 |
jessica-m |
what would cause my save function to not remove habtm rows before saving? |
# |
Oct 22nd 2009, 15:43 |
gimlilongbow |
Ah, it has to do with the way I'm setting the _explicitType property of the arrays. Fun. Thanks for the help, guys. |
# |
Oct 22nd 2009, 15:40 |
gimlilongbow |
Jagaroth: any suggestions? |
# |
Oct 22nd 2009, 15:39 |
n3rdbeere |
no, you didn't |