make sure validations is not null when setting the value in setValidationFor
Merge pull request #175 from tomilaine/master

make sure validations is not null when setting the value in setValidationFor