Proposal: Multiple Validation Contexts

Hey all,

Validations are a relatively obscure and not particularly well documented feature that do come in handy when using particularly complex models with complex lifecycles and states. Ideally, I’d use Concerns to dynamically add validations but that hasn’t been proven fruitful. I was wondering what you guys and gals think of extending validation contexts to be an array, so that one could pass in multiple contexts?


Already on master:

Reported in This Week in Rails here: :wink:

Woo! Thank you so much.