Add call to super in CouchRest::Validation.inherited hook, so that ExtendedDocument.inherited isn't bypassed. This reveals a failing test: Subclassing an ExtendedDocument should inherit default property values

This commit is contained in:
Geoff Buesing 2009-03-25 14:00:20 -05:00 committed by Matt Aimonetti
parent 5d112df1e8
commit 9c46546b39

View file

@ -66,6 +66,7 @@ module CouchRest
self.validators.contexts.each do |k, v|
subklass.validators.contexts[k] = v.dup
end
super
end
EOS