The conditional below could use a comment, something like: 

```
# Provide backwards compatibility for Rails < 4.1, which expects 
# `#setup` to be defined.  The `Validator#setup` instance method 
# was deprecated in Rails 4.1 and removed in 4.2.
```

With such a comment, future maintainers will know why we're defining `#setup`.