{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/26313","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/26313/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/26313/comments","events_url":"https://api.github.com/repos/rails/rails/issues/26313/events","html_url":"https://github.com/rails/rails/pull/26313","id":173694062,"number":26313,"title":"Fix: after_update callback should not get called while creating a record.","user":{"login":"mechanicles","id":77895,"avatar_url":"https://avatars.githubusercontent.com/u/77895?v=3","gravatar_id":"","url":"https://api.github.com/users/mechanicles","html_url":"https://github.com/mechanicles","followers_url":"https://api.github.com/users/mechanicles/followers","following_url":"https://api.github.com/users/mechanicles/following{/other_user}","gists_url":"https://api.github.com/users/mechanicles/gists{/gist_id}","starred_url":"https://api.github.com/users/mechanicles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mechanicles/subscriptions","organizations_url":"https://api.github.com/users/mechanicles/orgs","repos_url":"https://api.github.com/users/mechanicles/repos","events_url":"https://api.github.com/users/mechanicles/events{/privacy}","received_events_url":"https://api.github.com/users/mechanicles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"kaspth","id":350807,"avatar_url":"https://avatars.githubusercontent.com/u/350807?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaspth","id":350807,"avatar_url":"https://avatars.githubusercontent.com/u/350807?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-29T04:27:28Z","updated_at":"2016-08-31T17:14:06Z","closed_at":"2016-08-31T16:28:35Z","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/26313","html_url":"https://github.com/rails/rails/pull/26313","diff_url":"https://github.com/rails/rails/pull/26313.diff","patch_url":"https://github.com/rails/rails/pull/26313.patch"},"body":"Associated record's `after_update` callback was getting called after\r\nthe main record was created. This happened for 'HMTA' association.\r\n\r\nFixes #26270"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/243834357","html_url":"https://github.com/rails/rails/pull/26313#issuecomment-243834357","issue_url":"https://api.github.com/repos/rails/rails/issues/26313","id":243834357,"user":{"login":"mechanicles","id":77895,"avatar_url":"https://avatars.githubusercontent.com/u/77895?v=3","gravatar_id":"","url":"https://api.github.com/users/mechanicles","html_url":"https://github.com/mechanicles","followers_url":"https://api.github.com/users/mechanicles/followers","following_url":"https://api.github.com/users/mechanicles/following{/other_user}","gists_url":"https://api.github.com/users/mechanicles/gists{/gist_id}","starred_url":"https://api.github.com/users/mechanicles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mechanicles/subscriptions","organizations_url":"https://api.github.com/users/mechanicles/orgs","repos_url":"https://api.github.com/users/mechanicles/repos","events_url":"https://api.github.com/users/mechanicles/events{/privacy}","received_events_url":"https://api.github.com/users/mechanicles/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T17:14:06Z","updated_at":"2016-08-31T17:14:06Z","body":"@sgrif I tried a lot to find which underlying problem actually raises this issue, but couldn't able to find it. I will have a look on the PR which will solve this issue and will understand it properly.\r\n\r\nThanks."}}
{"actor":{"display_login":"mechanicles"}}