Sha256: 93b7b89546ab26096c89aaaea9f9074756a811a727648c809feea23823cfa94c

Contents?: true

Size: 142 Bytes

Versions: 5

Compression:

Stored size: 142 Bytes

Contents

module Validatable
  module Macros
    def validates_uniqueness_of(*args)
      add_validations(args, ValidatesUniquenessOf)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datamapper-0.2.4 lib/data_mapper/validatable_extensions/macros.rb
datamapper-0.2.5 lib/data_mapper/validatable_extensions/macros.rb
datamapper-0.3.0 lib/data_mapper/validatable_extensions/macros.rb
datamapper-0.3.1 lib/data_mapper/validatable_extensions/macros.rb
datamapper-0.3.2 lib/data_mapper/validatable_extensions/macros.rb