Validations ensure that your models attributes have certain values or meet specific conditions before the model is written to the database.

See UnderstandingValidation for an explanation of how validation works in Rails.

category: [[Glossary]]
