{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5270","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5270/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5270/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5270/events","html_url":"https://github.com/ManageIQ/manageiq/pull/5270","id":114921269,"number":5270,"title":"Avoid name conflicts between top-level and nested constants","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T22:05:49Z","updated_at":"2015-11-03T22:14:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5270","html_url":"https://github.com/ManageIQ/manageiq/pull/5270","diff_url":"https://github.com/ManageIQ/manageiq/pull/5270.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/5270.patch"},"body":"If the nested constant is defined, its top level equivalent must be defined too... otherwise the Rails autoloader can get confused.\r\n\r\nThis should more comprehensively fix issues along the lines of #5126."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/153506118","html_url":"https://github.com/ManageIQ/manageiq/pull/5270#issuecomment-153506118","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5270","id":153506118,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T22:14:01Z","updated_at":"2015-11-03T22:14:01Z","body":"<rubocop />Checked commit https://github.com/matthewd/manageiq/commit/4818380539193c72f0b87c71e833b1774bc8bf36 with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0\n1 file checked, 0 offenses detected\nEverything looks good. :cookie:\n"}}