Hi all, I am having a hasmany associated model to users, which i want that user can create only three records and no more, after that he can only edit them. I have implemented it in controller , by finding count , and using If condition in the add action. But it seems is it unnecessary overhead. So will it be better in implement in beforeSave function or can i implement it at model level with some simpler way or using options?
-- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
