Shopify/batman — pull request #226 by hookercookerman (2011-11-10 11:59:38+00:00)
Title: Validate on a Model when attributes have not been set Causes Error

When validating with length we will get

"Cannot read property 'length' of undefined"

as there is no attribute set;

Default to empty Array if value is undefined