{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/21163","labels_url":"https://api.github.com/repos/rails/rails/issues/21163/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/21163/comments","events_url":"https://api.github.com/repos/rails/rails/issues/21163/events","html_url":"https://github.com/rails/rails/pull/21163","id":99701967,"number":21163,"title":"use correct DB connection for generated HABTM table","user":{"login":"manlon","id":60348,"avatar_url":"https://avatars.githubusercontent.com/u/60348?v=3","gravatar_id":"","url":"https://api.github.com/users/manlon","html_url":"https://github.com/manlon","followers_url":"https://api.github.com/users/manlon/followers","following_url":"https://api.github.com/users/manlon/following{/other_user}","gists_url":"https://api.github.com/users/manlon/gists{/gist_id}","starred_url":"https://api.github.com/users/manlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manlon/subscriptions","organizations_url":"https://api.github.com/users/manlon/orgs","repos_url":"https://api.github.com/users/manlon/repos","events_url":"https://api.github.com/users/manlon/events{/privacy}","received_events_url":"https://api.github.com/users/manlon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-07T18:20:27Z","updated_at":"2015-08-07T18:28:46Z","closed_at":"2015-08-07T18:28:46Z","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/21163","html_url":"https://github.com/rails/rails/pull/21163","diff_url":"https://github.com/rails/rails/pull/21163.diff","patch_url":"https://github.com/rails/rails/pull/21163.patch"},"body":"This is a proposal to fix #21113 by overriding `retrieve_connection` for the generated model class to proxy to the model declaring the association."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/128788475","html_url":"https://github.com/rails/rails/pull/21163#issuecomment-128788475","issue_url":"https://api.github.com/repos/rails/rails/issues/21163","id":128788475,"user":{"login":"matthewd","id":1034,"avatar_url":"https://avatars.githubusercontent.com/u/1034?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewd","html_url":"https://github.com/matthewd","followers_url":"https://api.github.com/users/matthewd/followers","following_url":"https://api.github.com/users/matthewd/following{/other_user}","gists_url":"https://api.github.com/users/matthewd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewd/subscriptions","organizations_url":"https://api.github.com/users/matthewd/orgs","repos_url":"https://api.github.com/users/matthewd/repos","events_url":"https://api.github.com/users/matthewd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewd/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T18:28:46Z","updated_at":"2015-08-07T18:28:46Z","body":"Please resubmit as a pull request against master."}}