{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6224","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6224/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6224/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6224/events","html_url":"https://github.com/ManageIQ/manageiq/pull/6224","id":127271336,"number":6224,"title":"Don't use _type, but let rails derive the _type","user":{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T17:09:45Z","updated_at":"2016-01-18T17:10:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6224","html_url":"https://github.com/ManageIQ/manageiq/pull/6224","diff_url":"https://github.com/ManageIQ/manageiq/pull/6224.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/6224.patch"},"body":"Rails is able to figure out what _type and _id to use in a\npolymorphic association.\nThis is less error-prone on objects with STI"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/172593941","html_url":"https://github.com/ManageIQ/manageiq/pull/6224#issuecomment-172593941","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6224","id":172593941,"user":{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T17:10:35Z","updated_at":"2016-01-18T17:10:35Z","body":"@miq-bot add_label refactoring"}}