Chances are if your app is already out in production, you have your debug level set to ‘0’. This is probably good news, since the
Month: August 2008
You’ve probably heard time and time again (especially in a few recent and popular blog posts) that using requestAction() is, generally speaking, considered to be
Let’s take a controller ridden with problems and see how we can improve it. Hopefully this little experiment can help you beautify your code and
A quick example of some automagic goodness… Let’s say we need to to build an “add Post” form and allow the user to pick some
First of all, let me warn you that what I’m describing here is more or less a hack and is not the most efficient way
Update (10/7/2009)… this functionality has been rolled into Habtamable behavior An interesting question came up on IRC today… If I have Post HABTM Tag, how
Sometimes you see code that tries to do something like this: $this->Company->find(’all’, array(’conditions’ =>array(’Profile.name’=>’test’),
In part 1, I explained how to use saveAll() in order to save multiple models at the same time, if you haven’t had a chance
(Part 2 is here) I would like to provide some insight on how to use the saveAll() method, with a few real-world examples. First, I’m