{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/26490","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/26490/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/26490/comments","events_url":"https://api.github.com/repos/rails/rails/issues/26490/events","html_url":"https://github.com/rails/rails/pull/26490","id":176869522,"number":26490,"title":"4-2 backport: Move flattening records added to an association farther out","user":{"login":"ux","id":570788,"avatar_url":"https://avatars.githubusercontent.com/u/570788?v=3","gravatar_id":"","url":"https://api.github.com/users/ux","html_url":"https://github.com/ux","followers_url":"https://api.github.com/users/ux/followers","following_url":"https://api.github.com/users/ux/following{/other_user}","gists_url":"https://api.github.com/users/ux/gists{/gist_id}","starred_url":"https://api.github.com/users/ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ux/subscriptions","organizations_url":"https://api.github.com/users/ux/orgs","repos_url":"https://api.github.com/users/ux/repos","events_url":"https://api.github.com/users/ux/events{/privacy}","received_events_url":"https://api.github.com/users/ux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"schneems","id":59744,"avatar_url":"https://avatars.githubusercontent.com/u/59744?v=3","gravatar_id":"","url":"https://api.github.com/users/schneems","html_url":"https://github.com/schneems","followers_url":"https://api.github.com/users/schneems/followers","following_url":"https://api.github.com/users/schneems/following{/other_user}","gists_url":"https://api.github.com/users/schneems/gists{/gist_id}","starred_url":"https://api.github.com/users/schneems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneems/subscriptions","organizations_url":"https://api.github.com/users/schneems/orgs","repos_url":"https://api.github.com/users/schneems/repos","events_url":"https://api.github.com/users/schneems/events{/privacy}","received_events_url":"https://api.github.com/users/schneems/received_events","type":"User","site_admin":false},"assignees":[{"login":"schneems","id":59744,"avatar_url":"https://avatars.githubusercontent.com/u/59744?v=3","gravatar_id":"","url":"https://api.github.com/users/schneems","html_url":"https://github.com/schneems","followers_url":"https://api.github.com/users/schneems/followers","following_url":"https://api.github.com/users/schneems/following{/other_user}","gists_url":"https://api.github.com/users/schneems/gists{/gist_id}","starred_url":"https://api.github.com/users/schneems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneems/subscriptions","organizations_url":"https://api.github.com/users/schneems/orgs","repos_url":"https://api.github.com/users/schneems/repos","events_url":"https://api.github.com/users/schneems/events{/privacy}","received_events_url":"https://api.github.com/users/schneems/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-14T10:19:33Z","updated_at":"2016-09-14T10:19:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/26490","html_url":"https://github.com/rails/rails/pull/26490","diff_url":"https://github.com/rails/rails/pull/26490.diff","patch_url":"https://github.com/rails/rails/pull/26490.patch"},"body":"Backport 025187d9806ddfbdded15d0c7bd8341665ee40e9 for the `4-2-stable` branch.\r\n\r\n### Summary\r\n\r\nThere are many ways that things end up getting passed to `concat`. Not all of those entry points called `flatten` on their input. It seems that just about every method that is meant to take a single record, or that\r\nsplats its input, is meant to also take an array. `concat` is the earliest point that is common to all of the methods which add records to the association. Partially fixes #18689"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/246968763","html_url":"https://github.com/rails/rails/pull/26490#issuecomment-246968763","issue_url":"https://api.github.com/repos/rails/rails/issues/26490","id":246968763,"user":{"login":"rails-bot","id":7468109,"avatar_url":"https://avatars.githubusercontent.com/u/7468109?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-bot","html_url":"https://github.com/rails-bot","followers_url":"https://api.github.com/users/rails-bot/followers","following_url":"https://api.github.com/users/rails-bot/following{/other_user}","gists_url":"https://api.github.com/users/rails-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-bot/subscriptions","organizations_url":"https://api.github.com/users/rails-bot/orgs","repos_url":"https://api.github.com/users/rails-bot/repos","events_url":"https://api.github.com/users/rails-bot/events{/privacy}","received_events_url":"https://api.github.com/users/rails-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T10:19:37Z","updated_at":"2016-09-14T10:19:37Z","body":"<img src=\"http://www.joshmatthews.net/warning.svg\" alt=\"warning\" height=20> **Warning** <img src=\"http://www.joshmatthews.net/warning.svg\" alt=\"warning\" height=20>\n\n* Pull requests are usually filed against the master branch for this repo, but this one is against 4-2-stable. Please double check that you specified the right target!"}}
{"actor":{"display_login":"rails-bot"}}