lib/dm-validations/generic_validator.rb in dm-validations-0.9.5 vs lib/dm-validations/generic_validator.rb in dm-validations-0.9.6
- old
+ new
@@ -87,9 +87,10 @@
end
def ==(other)
self.class == other.class &&
self.field_name == other.field_name &&
+ self.class == other.class &&
self.if_clause == other.if_clause &&
self.unless_clause == other.unless_clause &&
self.instance_variable_get(:@options) == other.instance_variable_get(:@options)
end