{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/26617","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/26617/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/26617/comments","events_url":"https://api.github.com/repos/rails/rails/issues/26617/events","html_url":"https://github.com/rails/rails/pull/26617","id":179091333,"number":26617,"title":"Sb8244 26545","user":{"login":"sb8244","id":1231659,"avatar_url":"https://avatars.githubusercontent.com/u/1231659?v=3","gravatar_id":"","url":"https://api.github.com/users/sb8244","html_url":"https://github.com/sb8244","followers_url":"https://api.github.com/users/sb8244/followers","following_url":"https://api.github.com/users/sb8244/following{/other_user}","gists_url":"https://api.github.com/users/sb8244/gists{/gist_id}","starred_url":"https://api.github.com/users/sb8244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sb8244/subscriptions","organizations_url":"https://api.github.com/users/sb8244/orgs","repos_url":"https://api.github.com/users/sb8244/repos","events_url":"https://api.github.com/users/sb8244/events{/privacy}","received_events_url":"https://api.github.com/users/sb8244/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pixeltrix","id":6321,"avatar_url":"https://avatars.githubusercontent.com/u/6321?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeltrix","html_url":"https://github.com/pixeltrix","followers_url":"https://api.github.com/users/pixeltrix/followers","following_url":"https://api.github.com/users/pixeltrix/following{/other_user}","gists_url":"https://api.github.com/users/pixeltrix/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeltrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeltrix/subscriptions","organizations_url":"https://api.github.com/users/pixeltrix/orgs","repos_url":"https://api.github.com/users/pixeltrix/repos","events_url":"https://api.github.com/users/pixeltrix/events{/privacy}","received_events_url":"https://api.github.com/users/pixeltrix/received_events","type":"User","site_admin":false},"assignees":[{"login":"pixeltrix","id":6321,"avatar_url":"https://avatars.githubusercontent.com/u/6321?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeltrix","html_url":"https://github.com/pixeltrix","followers_url":"https://api.github.com/users/pixeltrix/followers","following_url":"https://api.github.com/users/pixeltrix/following{/other_user}","gists_url":"https://api.github.com/users/pixeltrix/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeltrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeltrix/subscriptions","organizations_url":"https://api.github.com/users/pixeltrix/orgs","repos_url":"https://api.github.com/users/pixeltrix/repos","events_url":"https://api.github.com/users/pixeltrix/events{/privacy}","received_events_url":"https://api.github.com/users/pixeltrix/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-25T15:17:50Z","updated_at":"2016-09-25T15:28:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/26617","html_url":"https://github.com/rails/rails/pull/26617","diff_url":"https://github.com/rails/rails/pull/26617.diff","patch_url":"https://github.com/rails/rails/pull/26617.patch"},"body":"### Summary\r\n\r\nAdds distinct capabilities in eager loaded default scope relationships. This became a bug when `joins` was supported without distinct. It is possible to produce duplicates not otherwise possible.\r\n\r\nFixes #26545 with @maclover7 \r\n\r\n### Other Information\r\n\r\n* Ensured that the eager loading works properly with `assert_no_queries`\r\n* Had to add a new model to get a relationship representative of https://gist.github.com/maclover7/ee54dacea920a2580335ffe3d09356b8\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/249428036","html_url":"https://github.com/rails/rails/pull/26617#issuecomment-249428036","issue_url":"https://api.github.com/repos/rails/rails/issues/26617","id":249428036,"user":{"login":"sb8244","id":1231659,"avatar_url":"https://avatars.githubusercontent.com/u/1231659?v=3","gravatar_id":"","url":"https://api.github.com/users/sb8244","html_url":"https://github.com/sb8244","followers_url":"https://api.github.com/users/sb8244/followers","following_url":"https://api.github.com/users/sb8244/following{/other_user}","gists_url":"https://api.github.com/users/sb8244/gists{/gist_id}","starred_url":"https://api.github.com/users/sb8244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sb8244/subscriptions","organizations_url":"https://api.github.com/users/sb8244/orgs","repos_url":"https://api.github.com/users/sb8244/repos","events_url":"https://api.github.com/users/sb8244/events{/privacy}","received_events_url":"https://api.github.com/users/sb8244/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T15:28:58Z","updated_at":"2016-09-25T15:28:58Z","body":"I believe this (if accepted) should also be backported to 4.2. It is not eligible for 4.1 because it diverted in 4.2"}}
{"actor":{"display_login":"sb8244"}}