{"issue":{"state":"closed","pull_request":{"diff_url":"https://github.com/maccman/spine/pull/139.diff","html_url":"https://github.com/maccman/spine/pull/139","patch_url":"https://github.com/maccman/spine/pull/139.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ceb3004fcd7431660b8e16a91ca89b53?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ceb3004fcd7431660b8e16a91ca89b53","url":"https://api.github.com/users/thedeeno","login":"thedeeno","id":84087},"assignee":null,"updated_at":"2011-11-16T15:37:53Z","labels":[],"closed_at":"2011-11-16T15:25:25Z","comments":3,"url":"https://api.github.com/repos/maccman/spine/issues/139","body":"This is a fix for the following:\r\n\r\nEvent bindings are getting duplicated when added inside a model's constructor/init. I traced this back to the Model's create method where I found the model was being 'dup'd before added to Spine's internal records. This duping causes the model's constructor to run a second time behind the scenes, which can be confusing.\r\n\r\nThis patch includes tests for this issue as well as the small fix. Instead of duping, I just threw the source model into records. I'm not sure why duping was originally necessary, but this change didn't break any tests.\r\n\r\nThoughts?","html_url":"https://github.com/maccman/spine/issues/139","title":"Fixed Event Binding Duplication in Model Ctor","number":139,"id":2254416,"created_at":"2011-11-16T09:49:30Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/baf018e2cc4616e4776d323215c7136c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"baf018e2cc4616e4776d323215c7136c","url":"https://api.github.com/users/maccman","login":"maccman","id":2142},"updated_at":"2011-11-16T15:37:53Z","url":"https://api.github.com/repos/maccman/spine/issues/comments/2761124","body":"Presumably you want specific records to depend on each other, rather than the whole records? Are you using Spine's Relations lib?","id":2761124,"created_at":"2011-11-16T15:37:53Z"}}