self.validate, not self#validate ('#' refers to an instance method, '.' refers to a class method)