lib/couchrest-uniqueness-validation.rb in couchrest-uniqueness-validation-0.1.0 vs lib/couchrest-uniqueness-validation.rb in couchrest-uniqueness-validation-0.1.1
- old
+ new
@@ -1,5 +1,7 @@
# Based on original validators in CouchRest::Validation
+require 'couchrest/mixins/validation'
+
module CouchRest
module Validation
class UniquenessValidator < GenericValidator
def initialize(field_name, options = {})