GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 91 forks source link

Mark `email` property as `blank: false` #92

Closed pledbrook closed 10 years ago

pledbrook commented 10 years ago

The scaffolding doesn't understand that Profile's email property is required unless it's marked with blank: false. Don't know why, but for consistency in behaviour we should add the extra constraint.