Find presence validations missing non-null constraints
Based heavily on Colin Jones’ consistency_fail, here’s nullalign. It finds models that have presence validators but are missing a non-null constraint.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Based heavily on Colin Jones’ consistency_fail, here’s nullalign. It finds models that have presence validators but are missing a non-null constraint.
Post a comment