TODO: Delete this file when we drop support for Rails 3.0
This method is already implemented in active_support 3.1
[Validate]