Sha256: a5afbec28cf7454d8729b036fd43b049e54c0f01f9afe6baeb9e2c3be723b5be
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
module DataMapper module Validate module Fixtures class BoatDock # # Behaviors # include DataMapper::Resource # # Properties # property :id, Serial property :name, String, :auto_validation => false, :default => "I'm a long string" # # Validations # validates_length :name, :min => 3 end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-validations-0.10.2 | spec/fixtures/boat_dock.rb |
dm-validations-0.10.1 | spec/fixtures/boat_dock.rb |
dm-validations-0.10.0 | spec/fixtures/boat_dock.rb |