concept field in category grails

appears as: fields, fields, field, field
Grails in Action, Second Edition

This is an excerpt from Manning's book Grails in Action, Second Edition.

Grails also offers an amazing feature called scaffolding. Based on the fields in your database model classes, Grails can generate a set of views and controllers on the fly to handle CRUD operations without a single line of code.

You don’t have to list all fields in your constraints block—only those you want to supply specific validations for. One thing to note is that fields aren’t nullable by default, so if you want a field to be optional, you have to specify the nullable constraint explicitly. You allow the homepage field to be optional (nullable), but if it’s supplied, you force it to match a URL pattern. This kind of combination gives you more power to specify validations concisely yet expressively.