1602/jugglingdb — pull request #3 by juggy (2011-11-17 03:40:25+00:00)
Title: Custom validations

Added a "validate" function to Validatable to be able to add a custom validation. The syntax is the following:

User.validate( "email", function(err){ //check email validity });

I got rid of "attr" and "conf" as they are not useful in the case of custom validations.

Enjoy.