{"issue":{"title":"Synapse.sync conflicts with Backbone.sync","user":{"login":"blocka","id":43194,"url":"https://api.github.com/users/blocka","avatar_url":"https://secure.gravatar.com/avatar/777447906f773b19a9886d444cbb2401?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"777447906f773b19a9886d444cbb2401"},"created_at":"2011-12-25T17:26:30Z","milestone":null,"state":"open","updated_at":"2011-12-29T16:28:45Z","labels":[],"id":2655504,"closed_at":null,"html_url":"https://github.com/bruth/synapse/issues/18","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"After a backbone model is augmented with `Synapse(model)`, it now contains a `sync` method.\r\n\r\nThen when you save, backbone calls `return (this.sync || Backbone.sync).call(this, method, this, options);`\r\nand since `this.sync` is defined, it will call the \"overwritten\" `sync` method.","number":18,"url":"https://api.github.com/repos/bruth/synapse/issues/18","comments":4,"assignee":null},"comment":{"user":{"login":"blocka","id":43194,"url":"https://api.github.com/users/blocka","avatar_url":"https://secure.gravatar.com/avatar/777447906f773b19a9886d444cbb2401?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"777447906f773b19a9886d444cbb2401"},"created_at":"2011-12-29T16:28:45Z","updated_at":"2011-12-29T16:28:45Z","id":3302212,"body":"Let me look at my code again. I was writing from memory, but what I actually did was copy the code from the sync method.\r\n\r\nWhat I'm doing should be a normal \"sync\". I have form elements which observe a Backbone model, and in turn notify the Backbone model. \r\n\r\nThe only thing different, is that I need control over the formatting (think dates) going from Backbone to the form, and then from the form back to Backbone.","url":"https://api.github.com/repos/bruth/synapse/issues/comments/3302212"},"action":"created"}