rails/rails — pull request #13752 by vpuzzella (2014-01-18 16:49:46+00:00)
Title: Ability to specify multiple contexts when defining a validation.

Example:
validates_presence_of :name, on: [:update, :custom_validation_context]