It seems that I can't loop through a backbone collection. I've seen this topic in several threads, but none of those solutions help.
render:function () {
this.$el.html(this.template(this.model.attributes));
var that = this;
console.log(this.projects.models);
_.each(this.projects.models, function(model) { console.log(model); });
return this;
}
From this my console only shows Array[2] I would expect to see each model as well. Does anyone know what I'm doing wrong here ?