{"action":"closed","issue":{"url":"https://api.github.com/repos/arvind-clarion/qmeter/issues/13","labels_url":"https://api.github.com/repos/arvind-clarion/qmeter/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/arvind-clarion/qmeter/issues/13/comments","events_url":"https://api.github.com/repos/arvind-clarion/qmeter/issues/13/events","html_url":"https://github.com/arvind-clarion/qmeter/issues/13","id":84046696,"number":13,"title":"Error when I run this new rails app","user":{"login":"arvind-clarion","id":6047329,"avatar_url":"https://avatars.githubusercontent.com/u/6047329?v=3","gravatar_id":"","url":"https://api.github.com/users/arvind-clarion","html_url":"https://github.com/arvind-clarion","followers_url":"https://api.github.com/users/arvind-clarion/followers","following_url":"https://api.github.com/users/arvind-clarion/following{/other_user}","gists_url":"https://api.github.com/users/arvind-clarion/gists{/gist_id}","starred_url":"https://api.github.com/users/arvind-clarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvind-clarion/subscriptions","organizations_url":"https://api.github.com/users/arvind-clarion/orgs","repos_url":"https://api.github.com/users/arvind-clarion/repos","events_url":"https://api.github.com/users/arvind-clarion/events{/privacy}","received_events_url":"https://api.github.com/users/arvind-clarion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arvind-clarion/qmeter/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"arvind-clarion","id":6047329,"avatar_url":"https://avatars.githubusercontent.com/u/6047329?v=3","gravatar_id":"","url":"https://api.github.com/users/arvind-clarion","html_url":"https://github.com/arvind-clarion","followers_url":"https://api.github.com/users/arvind-clarion/followers","following_url":"https://api.github.com/users/arvind-clarion/following{/other_user}","gists_url":"https://api.github.com/users/arvind-clarion/gists{/gist_id}","starred_url":"https://api.github.com/users/arvind-clarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvind-clarion/subscriptions","organizations_url":"https://api.github.com/users/arvind-clarion/orgs","repos_url":"https://api.github.com/users/arvind-clarion/repos","events_url":"https://api.github.com/users/arvind-clarion/events{/privacy}","received_events_url":"https://api.github.com/users/arvind-clarion/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-02T14:23:56Z","updated_at":"2015-06-08T09:04:19Z","closed_at":"2015-06-08T09:04:19Z","body":"TypeError: no implicit conversion of String into Integer\r\nvendor/qmeter/lib/qmeter.rb:30:in `[]'\r\n/vendor/qmeter/lib/qmeter.rb:30:in `collect_brakeman_details'\r\n\r\n\r\nI found bellow code \r\n   data_hash = JSON.parse(file)\r\n   ### what if hash does not have field  'warning'  ?\r\n    warning_type = data_hash['warnings'].map {|a| a = a['warning_type']}\r\n   "}}