require 'dao' class C < ::Map include Dao::Validations validates_presence_of :foo end c = C.new p c.valid? p c.errors c.update(:foo => 42) p c.valid? p c.errors #p 'c.validator.attributes' => c.validator.attributes #p 'c' => c __END__ p c.valid? p c p c.valid? #c.validator #p c.validator.object #p c.valid? #p c.errors #p c.status