In the back bone docs it specifies that one can link a Model to a collection by passing in the collection as an option when initializing a Model. The model should then be able to build it's own url from the collection.
var MyCollection = Backbone.Collection.extend({
url: 'api/myitems/'
});
var some_model = Backbone.Model({id:2}, {collection: MyCollection});
var some_model.fetch();
This doesn't work and my console says Error: A "url" property or function must be specified
http://localhost/static/backbone-min.js
Line 1