Yep, that ended up working. Apparently the 'valid?' flag is set *before* the 'after_validation' callbacks are called. Thanks Bruno!
On Jul 26, 2010, at 11:37 AM, Bruno Bornsztein wrote: > Have you tried doing this in the 'validate' method? > > def validate > self.errors.remove(:login) > self.errors.remove(:password) > self.errors.remove(:password_confirmation) > self.errors.remove(:birthday) > end > > -- > 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. -- 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.
