Merge branch 'master' of github.com:couchrest/couchrest_model into adv_design

This commit is contained in:
Sam Lown 2011-02-27 20:19:09 +01:00
commit f58482553c
10 changed files with 75 additions and 41 deletions

View file

@ -32,7 +32,7 @@ module CouchRest
end
if docs.length > 0
document.errors.add(attribute, :taken, :default => options[:message], :value => value)
document.errors.add(attribute, :taken, options.merge(:value => value))
end
end