[extended-document] added support for property :name, :default => 'Matt" and default couchrest type
This commit is contained in:
parent
890b60cae4
commit
fa7b176fce
5 changed files with 63 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue