RubyFlow The Ruby and Rails community linklog

Composable validations

http://milhouseonsoftware.com/2015/02/08/composable-validations/

TL;DR: In this post I will try to show why understanding multiple programming paradigms is useful and important (and also fun!). This post tackles the common problem of aggregating validation results in a comprehensible return value. The problem we solve here is almost the same as the one solved by ActiveRecord’s errors.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in