{"comment":{"created_at":"2011-10-14T15:39:50Z","body":"That's because the second argument is options, not instance properties.  Inside your initialize you need to set it manually.\r\n\r\n``` javascript\r\nMyCollection = Backbone.Collection.extend({\r\n  initialize: function(models, options) {\r\n    this.url = options.url;\r\n  }\r\n});\r\n\r\nvar myCollection = new MyCollection([], {url: '/users'});\r\nmyCollection.fetch()\r\n```\r\n\r\nIf you feel this does not address your issue, please feel free to re-open.\r\n","updated_at":"2011-10-14T15:39:50Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/comments/2408027","id":2408027,"user":{"gravatar_id":"21dbcdbf46f8ee3774c1b9b3efadfa9e","avatar_url":"https://secure.gravatar.com/avatar/21dbcdbf46f8ee3774c1b9b3efadfa9e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tbranyen","id":181635,"login":"tbranyen"}},"action":"created","issue":{"number":669,"created_at":"2011-10-14T15:29:47Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"If I create a new Collection object with a \"url\" attribute - it's not passed to the collection as an attribute:\r\n\r\nvar myCollection = new Backbone.Collection([], {url: '/users'});\r\nmyCollection.fetch()\r\n\r\nConsole:\r\nA \"url\" property or function must be specified\r\n[Break On This Error] throw new Error('A \"url\" property or function must be specified'); ","comments":1,"title":"url not set to a collection at initialization","updated_at":"2011-10-14T15:39:50Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/669","id":1911471,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"976ba5e6627e8c75a6a77cf67df572f6","avatar_url":"https://secure.gravatar.com/avatar/976ba5e6627e8c75a6a77cf67df572f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/doomhz","id":170544,"login":"doomhz"},"html_url":"https://github.com/documentcloud/backbone/issues/669","labels":[],"state":"open"},"legacy":{"issue_id":1911471,"comment_id":2408027}}