3 ms·
>Your database is just about the worst place in the world to be strict about DRY. There are no places in any code base at all where it doesn't pay to be rigoro
by crdoconnor 12y ago
>Your database is just about the worst place in the world to be strict about DRY.
There are no places in any code base at all where it doesn't pay to be rigorous about DRY.
>It turns out, your model and validations don't actually prevent broken data.
A) DRY isn't about preventing broken data.
B) Validations are for preventing broken data. That's what they do.