All tags / #validations

#validations

1 post

Validations Beyond Presence: Conditional Rules, Custom Validators, and Enum Integration

Peter Amiri

A practical Wheels 4.0 guide to the full validation surface — conditional rules with condition/unless/when, custom validate() methods, enum() integration, and how to read the error API correctly. Built end-to-end around one User model, with every behavior grounded in the framework source.

Newsletter

Release notes and new posts, once a month. No spam.

Prefer RSS? Subscribe to the feed →