{"action":"closed","issue":{"url":"https://api.github.com/repos/GTi-Jr/semana-de-tecnologia/issues/48","repository_url":"https://api.github.com/repos/GTi-Jr/semana-de-tecnologia","labels_url":"https://api.github.com/repos/GTi-Jr/semana-de-tecnologia/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/GTi-Jr/semana-de-tecnologia/issues/48/comments","events_url":"https://api.github.com/repos/GTi-Jr/semana-de-tecnologia/issues/48/events","html_url":"https://github.com/GTi-Jr/semana-de-tecnologia/issues/48","id":183410283,"number":48,"title":"NoMethodError: undefined method `destroy' for nil:NilClass","user":{"login":"rodrigotnoronha","id":9290234,"avatar_url":"https://avatars.githubusercontent.com/u/9290234?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigotnoronha","html_url":"https://github.com/rodrigotnoronha","followers_url":"https://api.github.com/users/rodrigotnoronha/followers","following_url":"https://api.github.com/users/rodrigotnoronha/following{/other_user}","gists_url":"https://api.github.com/users/rodrigotnoronha/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigotnoronha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigotnoronha/subscriptions","organizations_url":"https://api.github.com/users/rodrigotnoronha/orgs","repos_url":"https://api.github.com/users/rodrigotnoronha/repos","events_url":"https://api.github.com/users/rodrigotnoronha/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigotnoronha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T13:03:47Z","updated_at":"2016-11-17T13:47:49Z","closed_at":"2016-11-17T13:47:49Z","body":"View details in Rollbar: [https://rollbar.com/rodrigotnoronha/Sistema-Semanas/items/45/](https://rollbar.com/rodrigotnoronha/Sistema-Semanas/items/45/)\n\n```\n\nNoMethodError: undefined method `destroy' for nil:NilClass\n  File \"/app/app/controllers/packages_controller.rb\", line 26, in remove_package\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb\", line 4, in send_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb\", line 198, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb\", line 10, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb\", line 20, in block in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 117, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 555, in block (2 levels) in compile\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 505, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 92, in __run_callbacks__\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 778, in _run_process_action_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 81, in run_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb\", line 19, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb\", line 29, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb\", line 32, in block in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb\", line 164, in block in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb\", line 20, in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb\", line 164, in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb\", line 30, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb\", line 250, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb\", line 18, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb\", line 137, in process\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/rendering.rb\", line 30, in process\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb\", line 196, in dispatch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rack_delegation.rb\", line 13, in dispatch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb\", line 237, in block in action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb\", line 74, in dispatch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb\", line 43, in serve\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb\", line 49, in serve\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb\", line 43, in block in serve\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb\", line 30, in each\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb\", line 30, in serve\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb\", line 817, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 35, in block in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 34, in catch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 34, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/etag.rb\", line 24, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/conditionalget.rb\", line 38, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/head.rb\", line 13, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/params_parser.rb\", line 27, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/flash.rb\", line 260, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb\", line 225, in context\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb\", line 220, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/cookies.rb\", line 560, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/query_cache.rb\", line 36, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb\", line 653, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb\", line 29, in block in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 88, in __run_callbacks__\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 778, in _run_call_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 81, in run_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb\", line 27, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/remote_ip.rb\", line 78, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.13.2/lib/rollbar/middleware/rails/rollbar.rb\", line 24, in block in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.13.2/lib/rollbar.rb\", line 145, in scoped\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.13.2/lib/rollbar/middleware/rails/rollbar.rb\", line 22, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/debug_exceptions.rb\", line 17, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.13.2/lib/rollbar/middleware/rails/show_exceptions.rb\", line 22, in call_wi\n```\n"}}
{"actor":{"display_login":"rodrigotnoronha"}}