{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6274","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6274/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6274/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6274/events","html_url":"https://github.com/ManageIQ/manageiq/pull/6274","id":127792295,"number":6274,"title":"Upgrade acts_as_list to 0.7.2","user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/storage","name":"storage","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/technical%20debt","name":"technical debt","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T21:51:06Z","updated_at":"2016-01-20T21:57:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6274","html_url":"https://github.com/ManageIQ/manageiq/pull/6274","diff_url":"https://github.com/ManageIQ/manageiq/pull/6274.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/6274.patch"},"body":"Fixes #3501\r\n\r\nFixes loading MiqCimDerivedMetric on rails 4.2.x and has probably been broken\r\nsince we upgraded from rails 3.2, maybe earlier:\r\n\r\n```\r\nirb(main):001:0> MiqCimDerivedMetric\r\nNameError: undefined local variable or method `accessible_attributes' for #<Class:0x007ff34df30820>\r\n  from /Users/joerafaniello/.gem/ruby/2.2.4/gems/acts_as_list-0.1.9/lib/acts_as_list/active_record/acts/list.rb:61:in `class_eval'\r\n```\r\n\r\nIt appears that we only use acts_as_list to define a scope in MiqCimDerivedMetric:\r\n`acts_as_list  :scope => :miq_storage_metric`\r\n\r\nI'd rather just remove this dependency but I have no idea what to test after\r\nremoving it."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/173374126","html_url":"https://github.com/ManageIQ/manageiq/pull/6274#issuecomment-173374126","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6274","id":173374126,"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":"2016-01-20T21:57:21Z","updated_at":"2016-01-20T21:57:21Z","body":"<rubocop />Checked commit https://github.com/jrafanie/manageiq/commit/83d0cc3d05444b018c5f71e473f9ebfeb78abf20 with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0\n1 file checked, 0 offenses detected\nEverything looks good. :star:\n"}}