A different take on validation using the dry-validation gem
alfredomotta.substack.com
If you are using Rails and you find yourself fighting validations more often than you would like to, then you should consider watching my talk I gave at the London Ruby User Group this February about on dry-validation. I will present the API surface which uses a schema based declarative approach and I will compare it with the classic ActiveModel::Validations approach in Rails for a simple but not trivial example.
A different take on validation using the dry-validation gem
A different take on validation using the…
A different take on validation using the dry-validation gem
If you are using Rails and you find yourself fighting validations more often than you would like to, then you should consider watching my talk I gave at the London Ruby User Group this February about on dry-validation. I will present the API surface which uses a schema based declarative approach and I will compare it with the classic ActiveModel::Validations approach in Rails for a simple but not trivial example.