Sha256: 3f7a6e4f95012f156548e1d384fb8965b50c394c915e39d96444ff1338628fb0
Contents?: true
Size: 438 Bytes
Versions: 14
Compression:
Stored size: 438 Bytes
Contents
module DataMapper module Validations 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_of :name, :min => 3 end end end end
Version data entries
14 entries across 14 versions & 2 rubygems