New blog post: Introducing dry-validation (and what’s wrong with validation in Rails):http://solnic.eu/2015/12/07/introducing-dry-validation.html …
@_solnic_ I will as soon as I am working on a task that requires writing new validators :)
-
-
@backus cool! I actually want to use it in many places. ie for validating GET params that are used for db queries. Such opportunities wow!:) -
@_solnic_ Yup. I'd love to eventually have it do the validations for all of our API endpoints: http://docs.blockscore.com/ -
@_solnic_ Also I'm glad you talked about validations logic not short circuiting. I wrote a workaround a while ago: https://github.com/blockscore/activemodel-interdependence … -
@backus yep, and predicate logic gives you that for free, by definition
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.