Jason Garber<p>With <a href="https://indieweb.social/tags/RubyOnRails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyOnRails</span></a>, you can check an <a href="https://indieweb.social/tags/ActiveRecord" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ActiveRecord</span></a> object’s validations on an attribute using `object.class.validators_on(attribute)`.</p><p>The result is an array of validator classes, most of which include an `options` method with the configured options from the definition in the model.</p><p>Is it possible to filter out conditional validations from the returned array?</p><p>(I have a conditional validation on an attribute and would like to know when it doesn’t apply to a particular instance of the model.)</p>