lib/validatable_class_methods.rb in validatable-1.6.0 vs lib/validatable_class_methods.rb in validatable-1.6.1
- old
+ new
@@ -21,10 +21,10 @@
end
end
end
def all_validations
- return validations + self.superclass.validations if self.superclass.respond_to? :validations
+ return validations + self.superclass.all_validations if self.superclass.respond_to? :all_validations
validations
end
def validations
@validations ||= []
\ No newline at end of file