How can I specify at least one is required between HABTM models

2009-09-15 Thread PD
I am developing a backup plan module for my application, where use can specify multiple items to be backed up. To save a backup plan, at least one item should be specified by the user. How can I add this requirement to my model validation. I am using the select-multiple checkbox to get the user

Need help for pushing CakePHP for a high traffic project

2007-05-10 Thread PD
Hi Nate, I am a fan of cake and have used it in the following production site that I build last december. www.lowimpactliving.com I am pushing for cake to be used in one very large project which is going to be extremely high traffic. Probably around 50,000 hits at a time. I need some more

Re: A strange but very critical bug in my app using cake ajax

2006-11-09 Thread PD
AD7six, Thanks for your response. I checked the code. I am still not able to solve this. Because this is happening when I edit a category also. If, as you said, my existing category is being overwritten, then while editing, I should end up in 2 categories with the same name. But what happens is

A strange but very critical bug in my app using cake ajax

2006-11-03 Thread PD
Hi guys, I have built the site on cakePHP. It was really a great experience. I a having this very strange but extremely critical bug in it. Here is the structure. Categories hasMany subCategories hasMany Products... simple right? Now I have built my category/subcategory management page using