Displaying 1 result from an estimated 1 matches for "inclusion_of".
Did you mean:
exclusion_of
2007 Dec 27
0
Silent Validation Failures
...aving trouble with after_validation_on_create causing my
validations to fail silently. I''ve got a restful_authentication based
user model that requires a number of things from the user: email, dob,
gender, etc. When a user is created, all of these are validated in
various ways (presence, inclusion_of, etc.). Afterwards, I call three
protected methods using after_validation_on_create. These make the
user an alias, a password and a profile. The problem I''m having is
that rely on data the user enters (like gender) to generate their
information correctly. So long as I do not call
after_...