Sha256: 1a055d4d395df2a24946909c3ec1407100fd7697eca8b79cb5f7a9cb1ae8037f
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
module DataMapper module Validate module Fixtures class Jabberwock # # Behaviors # include DataMapper::Resource # # Properties # property :id, Serial property :snickersnack, String # # Validations # validates_length :snickersnack, :within => 3..40, :message => "worble warble" end # Jabberwock end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-validations-0.10.2 | spec/fixtures/jabberwock.rb |
dm-validations-0.10.1 | spec/fixtures/jabberwock.rb |
dm-validations-0.10.0 | spec/fixtures/jabberwock.rb |