Sha256: fea6a9a7deba6daab0bff828a41a1e40cd967dfe135706eda64df24010cddbd6

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

require 'gdatastore_mapper/validations/uniqueness_validator'

module GdatastoreMapper
  module Validations
    def validates_uniqueness_of(*args)
      validates_with(UniquenessValidator, _merge_attributes(args))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gdatastore_mapper-0.1.8 lib/gdatastore_mapper/validations.rb
gdatastore_mapper-0.1.7 lib/gdatastore_mapper/validations.rb