hey guys, i have looked alot of places and seen screencasts on
validation but i still dont understand how to go about validating a
form to check if the record exists by the name entered in.
lets say a project, has users assigned to the project, and we want to
assign users by using a textbox for their username.
how would we do the validation in the model?
i know i can simply write an if statement for manually checking the
textbox value and doing a find in the controller, but it seems a bit