addyosmani/backbone-fundamentals — Issue #38: possible bug is tutorial 
Author: Demien87
Created: 2012-01-05 10:32:33+00:00
State: open

@addyosmani it seems a bug for me but in this example

Photo = Backbone.Model.extend({
validate: function(attribs){
if(attribs.src == "placeholder.jpg"){
return "Remember to set a source for your image!";
}
},
...
var myPhoto = new Photo();
myPhoto.set({ title: "On the beach" });

validation is passes as ok since attribs.src is undefined - not == "placeholder.jpg"