Sha256: 82b77679128bf184f0465b2348d258e34d78b2e896ca34f4163afb71040f173a

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

module Enlightenment
  module Validations
    module ValidatesUniqueness
      extend ActiveSupport::Concern

      module ClassMethods
        def uniqueness_validator(params = {})
          callback_validator(params)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enlightenment-0.0.1.pre.4 lib/enlightenment/validations/validates_uniqueness.rb
enlightenment-0.0.1.pre.3 lib/enlightenment/validations/validates_uniqueness.rb
enlightenment-0.0.1.pre.2 lib/enlightenment/validations/validates_uniqueness.rb
enlightenment-0.0.1.pre.1 lib/enlightenment/validations/validates_uniqueness.rb