|
Just a quick question about validating records. I have a
UserRecord that has a Username, password, and email. Once of the requirements
is that the Username must be unique. Should I check for uniqueness in a
controller before I call the save() method, or should I use a Validate() method
that checks for the uniqueness? If I used a Validate() method, where does it
go? Is it ok to reference a UserGateway to call an Exists() function? Just wondering where to do this sort of validation. Cedric |
- [Reactor For CF] Validating records Cedric Villat
- Re: [Reactor For CF] Validating records Phil Cruz
- RE: [Reactor For CF] Validating records Cedric Villat
- RE: [Reactor For CF] Validating records Doug Hughes
- RE: [Reactor For CF] Validating records Cedric Villat
- RE: [Reactor For CF] Validating record... Doug Hughes
- RE: [Reactor For CF] Validating re... Cedric Villat
- [Spam] RE: [Reactor For CF] V... Jim McMullen
- RE: [Spam] RE: [Reactor For C... Cedric Villat
- Re: [Reactor For CF] Validating records Sean Corfield

