# |
Aug 8th 2008, 14:03 |
tom_mk |
AD7six : works now |
# |
Aug 8th 2008, 14:03 |
NOSLOW |
If MySQL, use InnoDB tables instead of MyISAM |
# |
Aug 8th 2008, 14:03 |
TommyO |
lqdice____: or cry if I had number 99 and watched number 98 ask "so why should I use cake?" or "what is MVC?" |
# |
Aug 8th 2008, 14:02 |
teknoid |
SweetCakesters_: are you saving related models? |
# |
Aug 8th 2008, 14:02 |
lqdice____ |
TommyO: cheaters shall be fed to the dogs |
# |
Aug 8th 2008, 14:02 |
TommyO |
lqdice____: I would just grab like ten tickets to be sure I always got priority :) |
# |
Aug 8th 2008, 14:02 |
NOSLOW |
SweetCakesters_: Model->begin(); Model->commit(); |
# |
Aug 8th 2008, 14:02 |
lqdice____ |
or we can say a ticket system like at the bakery |
# |
Aug 8th 2008, 14:01 |
AD7six |
tom_mk: "<> null" is going to appear as <> 'null' |
# |
Aug 8th 2008, 14:01 |
lqdice____ |
serving* |
# |
Aug 8th 2008, 14:01 |
lqdice____ |
"Now service #75" |
# |
Aug 8th 2008, 14:01 |
lqdice____ |
we need a ticket system like at the deli |
# |
Aug 8th 2008, 14:01 |
TommyO |
SweetCakesters_: how would you guess? if you had to? |
# |
Aug 8th 2008, 14:01 |
AD7six |
edit appropriately |
# |
Aug 8th 2008, 14:01 |
AD7six |
tom_mk: refresh your paste |
# |
Aug 8th 2008, 14:00 |
SweetCakesters_ |
I want to make a SQL transaction. How do I do that in cake? |
# |
Aug 8th 2008, 14:00 |
teknoid |
tom_mk: enclose your Publisher.id conditions in an array() |
# |
Aug 8th 2008, 14:00 |
SweetCakesters_ |
Hi. |
# |
Aug 8th 2008, 13:59 |
CrazyTux[m] |
Model B: http://pastebin.com/d73d5bd5d |
# |
Aug 8th 2008, 13:59 |
CrazyTux[m] |
Model A: http://pastebin.com/d6107e476 |
# |
Aug 8th 2008, 13:59 |
CrazyTux[m] |
Controller: http://pastebin.com/d3142a30c |
# |
Aug 8th 2008, 13:59 |
tom_mk |
but doesn't work :( |
# |
Aug 8th 2008, 13:59 |
tom_mk |
alternative: http://bin.cakephp.org/view/1050372363 |
# |
Aug 8th 2008, 13:58 |
teknoid |
? |
# |
Aug 8th 2008, 13:58 |
teknoid |
CrazyTux[m]: secondly, if you do use containable, why do you have $uses array |
# |
Aug 8th 2008, 13:58 |
AD7six |
CrazyTux[m]: to put it anothe way if you quit before you get kicked out it's better for you. |
# |
Aug 8th 2008, 13:58 |
teknoid |
CrazyTux[m]: you are not using containable correctly |
# |
Aug 8th 2008, 13:58 |
CrazyTux[m] |
Ah. |
# |
Aug 8th 2008, 13:58 |
AD7six |
CrazyTux[m]: well if you quit so does what you're polling |
# |
Aug 8th 2008, 13:57 |
tom_mk |
http://bin.cakephp.org/view/1956916747 |
# |
Aug 8th 2008, 13:57 |
tom_mk |
AD7six : u mind looking through my code? |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
AD7six, that will stop it? Isn't it already buffered? |
# |
Aug 8th 2008, 13:57 |
mil |
AD7six: I was just trying to get someone's attention :P -- thanks everyone |
# |
Aug 8th 2008, 13:57 |
tom_mk |
still don't get the correct result out -_-'' |
# |
Aug 8th 2008, 13:57 |
lqdice__ |
;) |
# |
Aug 8th 2008, 13:57 |
AD7six |
CrazyTux[m]: if it happens again - quit. |
# |
Aug 8th 2008, 13:57 |
teknoid |
teknoid: mental note... do not tell people to post code without ~bin |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
Sorry about that |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
is what I meant to paste. |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
http://pastebin.com/d3142a30c |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
my fucking ctrl c / v f*'ed up |