mirego/activerecord_json_validator — pull request #3 by remiprev (2013-12-30 14:11:50+00:00)
Title: Remove deprecated ActiveModel::Validator#setup in Rails 4.1

Rails 4.1 will no longer support `ActiveModel::Validator#setup` so I moved the setter method injection to its own method and either call it on `options[:class]` or in the old `#setup` method.