DataMapper


Validate

Validate is automatically run on every save() call, so long as you don't provide any parameters (such as saving a relationship). This allows your data to automatically have your predefined pre-processing and prepping validation rules applied. Read the Get and Save topics for more information.