[extended-document] added support for property :name, :default => 'Matt" and default couchrest type

This commit is contained in:
Matt Aimonetti 2009-02-05 18:57:11 -08:00
parent 890b60cae4
commit fa7b176fce
5 changed files with 63 additions and 6 deletions

View file

@ -117,7 +117,6 @@ module CouchRest
opts[:maximum] = len
end
# validates_length property.name, opts
p "dude: #{options_with_message(opts, property, :length)}"
validates_length property.name, options_with_message(opts, property, :length)
end