Sha256: c31e0b817791b8c98c749deba0b092ff036361c9d1710e69af86df064a7905d9
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 Bytes
Contents
# -*- coding: utf-8 -*- module DataMapper module Validate module Fixtures class Pirogue # # Behaviors # include DataMapper::Resource # # Properties # property :id, Serial property :salesman, String, :default => 'Layfayette' # # Validations # validates_absent :salesman, :on => :sale end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-validations-0.10.2 | spec/fixtures/pirogue.rb |
dm-validations-0.10.1 | spec/fixtures/pirogue.rb |
dm-validations-0.10.0 | spec/fixtures/pirogue.rb |