sdepold/sequelize — pull request #299 by reneoelke (2012-10-30 13:56:10+00:00)
Title: Added support for short validate attribute syntax.

The documentation (http://www.sequelizejs.com/#models-validations) shows a short validate syntax like this:

validate:
len: [2,10]

But the code only accepts long syntax like this:

validate:
len:
args: [2,10]

This pull request fixes this issue.