Simple Ruby Input Validation Library

前端 未结 3 1718
孤街浪徒
孤街浪徒 2020-12-28 10:28

I\'ve been looking all over the place for a simple input validation library for Ruby. Everything seems to point towards ActiveRecord (or similar). I\'m not using Rails, I\'m

3条回答
  •  误落风尘
    2020-12-28 11:30

    I also wrote one because I was frustrated with the existing solutions. You can try https://github.com/Goltergaul/definition It can do all sort of validations similar to dry-validation but less confusing

提交回复
热议问题