|
|
|
|
|
by jashmatthews
2490 days ago
|
|
> In ruby for example you would have to write a bunch of validations per hand and a bunch of tests too, to check if those work. In idiomatic Ruby it's more like one line in the struct definition vs one line in the model definition. ActiveModel and dry-validations have battle tested single line validations for this with automatically generated error messages. |
|