rails/rails — pull request #7497 by flexoid (2012-08-31 21:02:45+00:00)
Title: Array of attributes to validates method

Ability to specify array of attributes to validates method.
In this case the listed validation options will apply to each
attribute in array.

For example:
```ruby
validates [:first_name, :last_name, :middle_name], presence: true
```