Skip to content

Commit

Permalink
potential fix for couchrest#167
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Hecking committed Jun 27, 2013
1 parent 92096b7 commit 03389d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/couchrest/model/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def self.inherited(subklass)
def self.inherited(subklass)
super
subklass.properties = self.properties.dup
subklass.properties_by_name = self.properties_by_name.dup
# This is nasty:
subklass._validators = self._validators.dup
end
Expand Down

0 comments on commit 03389d0

Please sign in to comment.