Displaying 1 result from an estimated 1 matches for "valid_team".
Did you mean:
valid_read
2006 Aug 16
6
Create several models at once and validating
I have two models User and Team. Also I have a register form where the
new
user fill in her data and choose a name for a Team.
Well, in the user model there are several validations which work fine,
but
team model also have a validation for a uniqueness name that doesn''t
fire up
when she gives an existent team''s name.
This is the flow it follows:
/user/new -> it shows a