# |
Sep 21st 2011, 18:47 |
jgonca |
An enterprise can be the owner of multiple stones, and s tone only belongs to an enterprise. (this is already mapped). |
# |
Sep 21st 2011, 18:47 |
jgonca |
What's the best way to map this in cake: |
# |
Sep 21st 2011, 18:46 |
lelu |
ACTION will brb |
# |
Sep 21st 2011, 18:46 |
lelu |
Jonah11_: the first thing that pops into my mind is that you may be missing a view or layout for the json |
# |
Sep 21st 2011, 18:46 |
Jonah11_ |
lelu, debug=2 now |
# |
Sep 21st 2011, 18:46 |
daVinciWanaB |
i just submitted my first pull/commit request (whatever it's called) - does it notify me if it's approved/denied? |
# |
Sep 21st 2011, 18:45 |
lelu |
Jonah11_: what happens when you set debug level to 2? or when you look at debug or error in the logs? |
# |
Sep 21st 2011, 18:45 |
Ghost_Trolley |
now im afraid to continue, as there might be hundreds of line that will be broken |
# |
Sep 21st 2011, 18:45 |
Ghost_Trolley |
replacement for ife? |
# |
Sep 21st 2011, 18:44 |
caffeine_junkie |
it's the problem of printed books. they don't update themselves |
# |
Sep 21st 2011, 18:44 |
Jonah11_ |
I have a RESTful api that returns json data that I am testing with firefox REST Client. The GET requests work fine, but I am getting 404 errors I dont understand when posting form data: http://i.imgur.com/7NHps.png. Any ideas? |
# |
Sep 21st 2011, 18:43 |
lelu |
thats the problem with deprecation |
# |
Sep 21st 2011, 18:43 |
lelu |
aww |
# |
Sep 21st 2011, 18:41 |
Ghost_Trolley |
finally found a nice cake book and it used depreciated functions |
# |
Sep 21st 2011, 18:40 |
Ghost_Trolley |
craaap |
# |
Sep 21st 2011, 18:32 |
NetersLandreau |
wow.. i guess i'm really getting senile.. |
# |
Sep 21st 2011, 18:31 |
caffeine_junkie |
systematical: try this one http://api11.cakephp.org/class_form_helper.html#d709eda4a404dc1c62abbab164582b91 |
# |
Sep 21st 2011, 18:30 |
NetersLandreau |
there was no form helper in cake1.1, there was just an html helper.. try googling that instead |
# |
Sep 21st 2011, 18:30 |
tomasm- |
systematical, i'll answer after you ask 7 more times. |
# |
Sep 21st 2011, 18:30 |
caffeine_junkie |
systematical: see. when you do it systematically somebody pays attention. and then somebody will get tired of seeing your question systematically and google it for you. so keep on doing it xD |
# |
Sep 21st 2011, 18:28 |
systematical |
anyone know how to define the selected option in a dropdown list using cake 1.1 form helper? |
# |
Sep 21st 2011, 18:26 |
caffeine_junkie |
systematical: try asking again. maybe it'll help ) |
# |
Sep 21st 2011, 18:20 |
systematical |
anyone know how to define the selected option in a dropdown list using cake 1.1 form helper? |
# |
Sep 21st 2011, 18:20 |
systematical |
anyone know how to define the selected option in a dropdown list using cake 1.1 form helper? |
# |
Sep 21st 2011, 18:19 |
tomasm- |
hi, is there a way to tell cake to not autocreate a class for a model? i have been spending an hour debugging some code where associated data wont show up only to find out that it's autogenerating the model class instead of yelling at me that it doesnt exist (rather in the wrong file or who knows what) |
# |
Sep 21st 2011, 18:00 |
bioiq |
I can't get cakephp 2.0 working, i followed the installation gudie but nothing... cake bake all doesn't work... someone who can help? |
# |
Sep 21st 2011, 17:35 |
Oleander |
Oldskool, i was actually referencing the cookbook but couldnt get anywhere, thanks again |
# |
Sep 21st 2011, 17:32 |
Oldskool |
That contains some useful stuff :) |
# |
Sep 21st 2011, 17:32 |
Oldskool |
Oleander: You're welcome. For similar tricks like that, see: http://book.cakephp.org/#!/view/1030/Complex-Find-Conditions |
# |
Sep 21st 2011, 17:31 |
Oleander |
thanks OldSkool!!!! been stuck on it for ages, cheers mate |
# |
Sep 21st 2011, 17:30 |
Oldskool |
Oleander: http://pastebin.com/uL50WK5m |
# |
Sep 21st 2011, 17:29 |
csotelo |
Are there a way to take /app/views/themed and move it to /themed folder? thanks |
# |
Sep 21st 2011, 17:26 |
Oleander |
Section58: could you please if you have some time help me with converting http://pastebin.com/Vxyr2C6y to find() |
# |
Sep 21st 2011, 17:24 |
mdunham918_ |
thanks Section58 |
# |
Sep 21st 2011, 17:24 |
mdunham918_ |
hmm did not think of that good idea i can just use exec() to tell mysql to optimize |
# |
Sep 21st 2011, 17:24 |
Section58 |
mdunham918_: bash comes to mind at this point. |
# |
Sep 21st 2011, 17:22 |
Oleander |
can anyone please help me with the model query, im having trouble converting into find() http://pastebin.com/Vxyr2C6y |
# |
Sep 21st 2011, 17:20 |
_numbers |
how do i render something and stop execution in beforeFilter? |
# |
Sep 21st 2011, 17:18 |
psk50 |
any reason? |
# |
Sep 21st 2011, 17:07 |
csotelo |
Are there a way to take /app/views/themed and move it to /themed folder? thanks |
# |
Sep 21st 2011, 17:06 |
csotelo |
Hello |