Sha256: 63818cd763646b00df8bed0afe9a7c393c0a5e2fec5274531e39be9d1b3b64c2

Contents?: true

Size: 456 Bytes

Versions: 14

Compression:

Stored size: 456 Bytes

Contents

module DataMapper
  module Validations
    module Fixtures

      class Jabberwock
        #
        # Behaviors
        #

        include DataMapper::Resource

        #
        # Properties
        #

        property :id,           Serial
        property :snickersnack, String

        #
        # Validations
        #

        validates_length_of :snickersnack, :within => 3..40, :message => "worble warble"
      end # Jabberwock
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

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