Sha256: d5ff318484b4faeecf3eec16641b6842212b251cf78cc22b75d8fbbdf79445d4

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 Bytes

Contents

# coding: utf-8

module DataMapper
  module Validations
    module Fixtures
      class Multibyte
        include DataMapper::Resource

        property :id,   Serial
        property :name, String

        validates_length_of :name, :is => 20
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
ardm-validations-1.2.0 spec/fixtures/multibyte.rb
dm-validations-1.2.0 spec/fixtures/multibyte.rb
dm-validations-1.2.0.rc2 spec/fixtures/multibyte.rb
dm-validations-1.2.0.rc1 spec/fixtures/multibyte.rb
dm-validations-1.1.0 spec/fixtures/multibyte.rb
dm-validations-1.1.0.rc3 spec/fixtures/multibyte.rb
dm-validations-1.1.0.rc2 spec/fixtures/multibyte.rb
dm-validations-1.1.0.rc1 spec/fixtures/multibyte.rb
dm-validations-1.0.2 spec/fixtures/multibyte.rb
dm-validations-1.0.1 spec/fixtures/multibyte.rb
dm-validations-1.0.0 spec/fixtures/multibyte.rb