Not sure about the error you're getting, but removing validations from existing models is a little tricky. I usually subclass the model, and then override the 'validate' method, removing errors on attributes where I don't want them. If you can't subclass your user model, you'll have to do some meta programming: here's a start <http://www.pastie.org/411946> (please note: not tested, may not work for you)
On Sun, Mar 8, 2009 at 10:20 PM, LostyJai <[email protected]> wrote: > > Did you restart your server? > > On Mar 9, 10:04 am, moritz <[email protected]> wrote: > > What is the best way to accomplish this? > > > > I've tried using the user model in my app/models directory, but I'm > > seeing the following error when I do: > > > > "A copy of User has been removed from the module tree but is still > > active!" > > > > Thanks for any tips. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
