On Mar 22, 12:57 am, mattalexx <mattal...@gmail.com> wrote: > It's really pretty simple. My question is, is it good practice to have > a model method handle the whole thing or should I just use the model > to retrieve the records and to save them.
My approach would be to have a method in the User model called "deactivate" or similar that would have a User ID parameter and would do any necessary checking and subsequent saving to the database when necessary. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---