Hey all - just wanted to check if I'm going about this in the right
I have class User, user has a password
Password should only be valid if it's between 6 and 16 chars in
New user is created if everything is valid and it's stored to the db.
After saving to the database, the password is then hashed making it
over 16 chars in length.
The User record no longer passes validation.
In the past I've just figured this wasn't an issue; just make sure the
object is valid before saving it to the db.
However, if using validates_associated on any of a Users children, the
child object becomes invalid becuase the user is no longer passing
In the past I've just dropped the validates_associated as it wasn't
stricly neccessary. - I'd just make sure I always called
Is there a better way to handle this?