Log message #1109858

# At Username Text
# Oct 22nd 2009, 09:50 jcrawford in the view rather than storing the message in the flash
# Oct 22nd 2009, 09:50 jcrawford they show using $html->tagErrorMsg()
# Oct 22nd 2009, 09:50 dogmatic69 ionas: Publisher belongsTo Country
# Oct 22nd 2009, 09:50 jcrawford dogmatic69 i am asking because I was looking at this tutorial http://bakery.cakephp.org/articles/view/detecting-duplicate-entries-when-updating
# Oct 22nd 2009, 09:49 ionas if its not a linear relationship afaik
# Oct 22nd 2009, 09:49 dogmatic69 jcrawford: $this->erros = xyz; then in controller $this->Model->errors
# Oct 22nd 2009, 09:49 ionas dogmatic69, you know that you might have to cascade contain
# Oct 22nd 2009, 09:49 dogmatic69 jcrawford: session is not available in flash
# Oct 22nd 2009, 09:48 dogmatic69 its not doing LEFT JOIN Country...
# Oct 22nd 2009, 09:48 jcrawford from the model is there no way to set a message in the flash messenger? setFlash()?
# Oct 22nd 2009, 09:48 dogmatic69 ionas: http://bin.cakephp.org/view/481519696
# Oct 22nd 2009, 09:48 markstory or the internet
# Oct 22nd 2009, 09:47 dakota or php
# Oct 22nd 2009, 09:47 dogmatic69 !bin
# Oct 22nd 2009, 09:47 dakota If you really really need the speed then don't use a framework
# Oct 22nd 2009, 09:47 ionas if it does, switch on debug 2 and check if the ORDER BY clause is right
# Oct 22nd 2009, 09:47 Iiridayn_ I've been trying so hard to be good and not touch the framework files
# Oct 22nd 2009, 09:47 markstory that will be much faster.
# Oct 22nd 2009, 09:47 ionas and see if the contains works at all
# Oct 22nd 2009, 09:47 markstory if you need another 0.000009 seconds then write a different cache helper, and save flat html files.
# Oct 22nd 2009, 09:47 ionas dogmatic69, fetch some data
# Oct 22nd 2009, 09:47 Iiridayn_ In other words, not really :/
# Oct 22nd 2009, 09:47 daddy ola bakers
# Oct 22nd 2009, 09:47 markstory rewrite the cache helper
# Oct 22nd 2009, 09:46 Iiridayn_ markstory: Is there a way to skip initiallzing the controller in the cache, to save some time?
# Oct 22nd 2009, 09:46 markstory that's why you need the controller.
# Oct 22nd 2009, 09:46 Ceeram just 3 remaining failing cases, those are not one of them
# Oct 22nd 2009, 09:46 markstory Iiridayn_: well you can enable controller callbacks when you make view caches.
# Oct 22nd 2009, 09:45 ionas <?=$paginator->sort(__('Date', true), 'Shout.created')?> or <?=$paginator->sort(__('Nickname', true), 'FromProfile.nickname')?>
# Oct 22nd 2009, 09:45 Ceeram they pass
# Oct 22nd 2009, 09:45 Ceeram no
# Oct 22nd 2009, 09:45 dogmatic69 ionas: ye its working with Industry not with country
# Oct 22nd 2009, 09:45 markstory you might get fails on dbo source and dbo mysql tests
# Oct 22nd 2009, 09:45 Ceeram -t
# Oct 22nd 2009, 09:45 Ceeram id didnt put it there, but i like it much thought
# Oct 22nd 2009, 09:45 ionas dogmatic69, it works though
# Oct 22nd 2009, 09:45 Iiridayn_ markstory: I searched through the file view.php for that variable name. While I realize that it's possibly used elsewhere, where and why form the basis of my question ;)
# Oct 22nd 2009, 09:45 dogmatic69 ionas: im trying to order by Country.name in Publisher | Publisher belongsTo Country andand Publisher belongsTo Industry... Industry.name sort works fine... must be my code
# Oct 22nd 2009, 09:45 markstory putting it into Product is wrong.
# Oct 22nd 2009, 09:44 Ceeram well it isnt
# Oct 22nd 2009, 09:44 markstory it should be at [0][price]