{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3281","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3281/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3281/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3281/events","html_url":"https://github.com/ManageIQ/manageiq/pull/3281","id":91018889,"number":3281,"title":"Rails 4 fix - replace has_many with virtual_has_many associations","user":{"login":"GregP","id":552686,"avatar_url":"https://avatars.githubusercontent.com/u/552686?v=3","gravatar_id":"","url":"https://api.github.com/users/GregP","html_url":"https://github.com/GregP","followers_url":"https://api.github.com/users/GregP/followers","following_url":"https://api.github.com/users/GregP/following{/other_user}","gists_url":"https://api.github.com/users/GregP/gists{/gist_id}","starred_url":"https://api.github.com/users/GregP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregP/subscriptions","organizations_url":"https://api.github.com/users/GregP/orgs","repos_url":"https://api.github.com/users/GregP/repos","events_url":"https://api.github.com/users/GregP/events{/privacy}","received_events_url":"https://api.github.com/users/GregP/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/rails%204","name":"rails 4","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-25T16:54:25Z","updated_at":"2015-06-29T19:05:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3281","html_url":"https://github.com/ManageIQ/manageiq/pull/3281","diff_url":"https://github.com/ManageIQ/manageiq/pull/3281.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3281.patch"},"body":"Fixed Rails 4 ActiveRecord errors when using has_many with lambda forcing AR to assume a nonexistent foreign key association between tables\r\nAdded virtual columns to be used by reports functionality\r\nAdded  spec for the model\r\n\r\nFixes #3190"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/116798349","html_url":"https://github.com/ManageIQ/manageiq/pull/3281#issuecomment-116798349","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3281","id":116798349,"user":{"login":"GregP","id":552686,"avatar_url":"https://avatars.githubusercontent.com/u/552686?v=3","gravatar_id":"","url":"https://api.github.com/users/GregP","html_url":"https://github.com/GregP","followers_url":"https://api.github.com/users/GregP/followers","following_url":"https://api.github.com/users/GregP/following{/other_user}","gists_url":"https://api.github.com/users/GregP/gists{/gist_id}","starred_url":"https://api.github.com/users/GregP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregP/subscriptions","organizations_url":"https://api.github.com/users/GregP/orgs","repos_url":"https://api.github.com/users/GregP/repos","events_url":"https://api.github.com/users/GregP/events{/privacy}","received_events_url":"https://api.github.com/users/GregP/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T19:05:21Z","updated_at":"2015-06-29T19:05:21Z","body":"@chessbyte @Fryguy @h-kataria Code refactored and commits squashed, please review."}}