Sha256: 6e4ed4c192e8919f19445885bf5ff99b27a99d116eb3bc91a25bde784f3b9dc9

Contents?: true

Size: 446 Bytes

Versions: 14

Compression:

Stored size: 446 Bytes

Contents

# -*- coding: utf-8 -*-

module DataMapper
  module Validations
    module Fixtures
      class Pirogue
        #
        # Behaviors
        #

        include DataMapper::Resource

        #
        # Properties
        #

        property :id,       Serial
        property :salesman, String, :default => 'Layfayette'

        #
        # Validations
        #

        validates_absence_of :salesman, :on => :sale
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

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