using ActiveRecord::Validator