{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/23102","labels_url":"https://api.github.com/repos/rails/rails/issues/23102/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/23102/comments","events_url":"https://api.github.com/repos/rails/rails/issues/23102/events","html_url":"https://github.com/rails/rails/pull/23102","id":127253600,"number":23102,"title":"Define `:foreign_type` as a valid option in `SingularAssociation`","user":{"login":"yui-knk","id":5356517,"avatar_url":"https://avatars.githubusercontent.com/u/5356517?v=3","gravatar_id":"","url":"https://api.github.com/users/yui-knk","html_url":"https://github.com/yui-knk","followers_url":"https://api.github.com/users/yui-knk/followers","following_url":"https://api.github.com/users/yui-knk/following{/other_user}","gists_url":"https://api.github.com/users/yui-knk/gists{/gist_id}","starred_url":"https://api.github.com/users/yui-knk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yui-knk/subscriptions","organizations_url":"https://api.github.com/users/yui-knk/orgs","repos_url":"https://api.github.com/users/yui-knk/repos","events_url":"https://api.github.com/users/yui-knk/events{/privacy}","received_events_url":"https://api.github.com/users/yui-knk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-18T15:47:43Z","updated_at":"2016-01-18T15:57:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23102","html_url":"https://github.com/rails/rails/pull/23102","diff_url":"https://github.com/rails/rails/pull/23102.diff","patch_url":"https://github.com/rails/rails/pull/23102.patch"},"body":"`:foreign_type` is a valid option for `belongs_to` and `has_one`\r\nso remove this to `SingularAssociation`."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/172569033","html_url":"https://github.com/rails/rails/pull/23102#issuecomment-172569033","issue_url":"https://api.github.com/repos/rails/rails/issues/23102","id":172569033,"user":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T15:57:00Z","updated_at":"2016-01-18T15:57:00Z","body":"Thanks for the PR @yui-knk - can you explain a bit more why this change is needed? Does this fix an open issue?"}}