Fix Rails 4.1.0 deprecation warning

The `Validator#setup` instance method is deprecated and will be removed on Rails 4.2.