{"action":"opened","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/3108","repository_url":"https://api.github.com/repos/bbatsov/rubocop","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3108/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3108/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3108/events","html_url":"https://github.com/bbatsov/rubocop/issues/3108","id":153059694,"number":3108,"title":"Errors with safe operator","user":{"login":"tilast","id":2708089,"avatar_url":"https://avatars.githubusercontent.com/u/2708089?v=3","gravatar_id":"","url":"https://api.github.com/users/tilast","html_url":"https://github.com/tilast","followers_url":"https://api.github.com/users/tilast/followers","following_url":"https://api.github.com/users/tilast/following{/other_user}","gists_url":"https://api.github.com/users/tilast/gists{/gist_id}","starred_url":"https://api.github.com/users/tilast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilast/subscriptions","organizations_url":"https://api.github.com/users/tilast/orgs","repos_url":"https://api.github.com/users/tilast/repos","events_url":"https://api.github.com/users/tilast/events{/privacy}","received_events_url":"https://api.github.com/users/tilast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T16:40:03Z","updated_at":"2016-05-04T16:40:03Z","closed_at":null,"body":"## Expected behavior\r\nSuccesfully passing rubocop\r\n\r\n## Actual behavior\r\nErrors in terminal\r\n```\r\nInspecting 1 file\r\nAn error occurred while Lint/DefEndAlignment cop was inspecting /Users/ihorkroosh/Projects/railsreactor/enter-backend/app/controllers/concerns/render.rb.\r\nTo see the complete backtrace run rubocop -d.\r\nAn error occurred while Style/IndentationWidth cop was inspecting /Users/ihorkroosh/Projects/railsreactor/enter-backend/app/controllers/concerns/render.rb.\r\nTo see the complete backtrace run rubocop -d.\r\n.\r\n\r\n1 file inspected, no offenses detected\r\n\r\n2 errors occurred:\r\nAn error occurred while Lint/DefEndAlignment cop was inspecting /Users/ihorkroosh/Projects/railsreactor/enter-backend/app/controllers/concerns/render.rb.\r\nAn error occurred while Style/IndentationWidth cop was inspecting /Users/ihorkroosh/Projects/railsreactor/enter-backend/app/controllers/concerns/render.rb.\r\nErrors are usually caused by RuboCop bugs.\r\nPlease, report your problems to RuboCop's issue tracker.\r\nMention the following information in the issue report:\r\n0.37.0 (using Parser 2.3.0.7, running on ruby 2.3.0 x86_64-darwin15)\r\n```\r\n\r\n## Steps to reproduce the problem\r\ncode\r\n```ruby\r\n  params[:fields]\r\n      &.to_unsafe_h\r\n      &.map { |key, value| [key, value.split(',').map(&:strip)] }\r\n      &.to_h\r\n```\r\n\r\n## RuboCop version\r\n```\r\n$ rubocop -V\r\n0.37.0 (using Parser 2.3.0.7, running on ruby 2.3.0 x86_64-darwin15)\r\n```\r\n"}}