From the documentation:
By default validate is called before save, but can also be called before set if
{validate:true} is passed.
So you need to use it like:
person.set({'rollNo':-100},{validate:true})
You can read up on validate for a Backbone.Model
.
As a side note: It appears that tutorial is for Backbone 0.9.2, while the current version is 1.1.0. Consider finding an up-to-date tutorial, or read the Change Log.