{"action":"created","issue":{"url":"https://api.github.com/repos/groupbuddies/council/issues/89","labels_url":"https://api.github.com/repos/groupbuddies/council/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/groupbuddies/council/issues/89/comments","events_url":"https://api.github.com/repos/groupbuddies/council/issues/89/events","html_url":"https://github.com/groupbuddies/council/pull/89","id":54062562,"number":89,"title":"[Models] Improves subscription update system","user":{"login":"zamith","id":166304,"avatar_url":"https://avatars.githubusercontent.com/u/166304?v=3","gravatar_id":"","url":"https://api.github.com/users/zamith","html_url":"https://github.com/zamith","followers_url":"https://api.github.com/users/zamith/followers","following_url":"https://api.github.com/users/zamith/following{/other_user}","gists_url":"https://api.github.com/users/zamith/gists{/gist_id}","starred_url":"https://api.github.com/users/zamith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamith/subscriptions","organizations_url":"https://api.github.com/users/zamith/orgs","repos_url":"https://api.github.com/users/zamith/repos","events_url":"https://api.github.com/users/zamith/events{/privacy}","received_events_url":"https://api.github.com/users/zamith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T14:58:15Z","updated_at":"2015-01-15T19:48:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/groupbuddies/council/pulls/89","html_url":"https://github.com/groupbuddies/council/pull/89","diff_url":"https://github.com/groupbuddies/council/pull/89.diff","patch_url":"https://github.com/groupbuddies/council/pull/89.patch"},"body":"Gets all the subscriptions in bulk and searches in memory, instead of a\nquery per user. Also calls the subscription set_initial_state callback\nbefore save, instead of after, thus saving an access to the db per new\nsubscription created.\n\nMoves the logic of creating subscriptions into it's own object. This\nstill does not deal with users unsubscribing to discussion, but it's a\nstep towards that."},"comment":{"url":"https://api.github.com/repos/groupbuddies/council/issues/comments/70149165","html_url":"https://github.com/groupbuddies/council/pull/89#issuecomment-70149165","issue_url":"https://api.github.com/repos/groupbuddies/council/issues/89","id":70149165,"user":{"login":"zamith","id":166304,"avatar_url":"https://avatars.githubusercontent.com/u/166304?v=3","gravatar_id":"","url":"https://api.github.com/users/zamith","html_url":"https://github.com/zamith","followers_url":"https://api.github.com/users/zamith/followers","following_url":"https://api.github.com/users/zamith/following{/other_user}","gists_url":"https://api.github.com/users/zamith/gists{/gist_id}","starred_url":"https://api.github.com/users/zamith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamith/subscriptions","organizations_url":"https://api.github.com/users/zamith/orgs","repos_url":"https://api.github.com/users/zamith/repos","events_url":"https://api.github.com/users/zamith/events{/privacy}","received_events_url":"https://api.github.com/users/zamith/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T19:48:15Z","updated_at":"2015-01-15T19:48:15Z","body":"@naps62 I did some of the changes we discussed. I didn't move the class to a different directory because, frankly I don't know what to name that directory."}}