{"action":"closed","issue":{"url":"https://api.github.com/repos/EBWiki/EBWiki/issues/1318","repository_url":"https://api.github.com/repos/EBWiki/EBWiki","labels_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/1318/labels{/name}","comments_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/1318/comments","events_url":"https://api.github.com/repos/EBWiki/EBWiki/issues/1318/events","html_url":"https://github.com/EBWiki/EBWiki/issues/1318","id":301631763,"number":1318,"title":"NameError: undefined local variable or method `logger' for #<UserPolicy:0x007fc5d87d5b40 @current_user=nil, @user=nil>","user":{"login":"trystant","id":13509,"avatar_url":"https://avatars0.githubusercontent.com/u/13509?v=4","gravatar_id":"","url":"https://api.github.com/users/trystant","html_url":"https://github.com/trystant","followers_url":"https://api.github.com/users/trystant/followers","following_url":"https://api.github.com/users/trystant/following{/other_user}","gists_url":"https://api.github.com/users/trystant/gists{/gist_id}","starred_url":"https://api.github.com/users/trystant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trystant/subscriptions","organizations_url":"https://api.github.com/users/trystant/orgs","repos_url":"https://api.github.com/users/trystant/repos","events_url":"https://api.github.com/users/trystant/events{/privacy}","received_events_url":"https://api.github.com/users/trystant/received_events","type":"User","site_admin":false},"labels":[{"id":219026727,"url":"https://api.github.com/repos/EBWiki/EBWiki/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T02:28:37Z","updated_at":"2018-03-02T05:14:59Z","closed_at":"2018-03-02T05:14:59Z","author_association":"CONTRIBUTOR","body":"View details in Rollbar: [https://rollbar.com/trystant/EBWiki/items/959/](https://rollbar.com/trystant/EBWiki/items/959/)\n\n```\n\nNameError: undefined local variable or method `logger' for #<UserPolicy:0x007fc5d87d5b40 @current_user=nil, @user=nil>\n  File \"/home/cami/Projects/EBWiki/app/policies/user_policy.rb\", line 7, in initialize\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/pundit-1036bd7cfbed/lib/pundit.rb\", line 114, in new\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/pundit-1036bd7cfbed/lib/pundit.rb\", line 114, in policy!\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/pundit-1036bd7cfbed/lib/pundit.rb\", line 225, in policy\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/pundit-1036bd7cfbed/lib/pundit.rb\", line 184, in authorize\n  File \"/home/cami/Projects/EBWiki/app/controllers/users_controller.rb\", line 9, in show\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/implicit_render.rb\", line 4, in send_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/abstract_controller/base.rb\", line 198, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/rendering.rb\", line 10, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/abstract_controller/callbacks.rb\", line 20, in block in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 117, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 555, in block (2 levels) in compile\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 505, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 92, in __run_callbacks__\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 778, in _run_process_action_callbacks\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb\", line 81, in run_callbacks\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/abstract_controller/callbacks.rb\", line 19, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/rescue.rb\", line 29, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/instrumentation.rb\", line 32, in block in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/notifications.rb\", line 164, in block in instrument\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/notifications/instrumenter.rb\", line 20, in instrument\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.9/lib/active_support/notifications.rb\", line 164, in instrument\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/instrumentation.rb\", line 30, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/params_wrapper.rb\", line 250, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/searchkick-2.4.0/lib/searchkick/logging.rb\", line 209, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-4.2.9/lib/active_record/railties/controller_runtime.rb\", line 18, in process_action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/abstract_controller/base.rb\", line 137, in process\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionview-4.2.9/lib/action_view/rendering.rb\", line 30, in process\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal.rb\", line 196, in dispatch\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal/rack_delegation.rb\", line 13, in dispatch\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_controller/metal.rb\", line 237, in block in action\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb\", line 74, in dispatch\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb\", line 43, in serve\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb\", line 43, in block in serve\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb\", line 30, in each\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb\", line 30, in serve\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb\", line 817, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 92, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-pjax-0.8.0/lib/rack/pjax.rb\", line 12, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 92, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-attack-5.0.1/lib/rack/attack.rb\", line 147, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 92, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/rack/agent_hooks.rb\", line 30, in traced_call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 92, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/rack/browser_monitoring.rb\", line 32, in traced_call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/newrelic_rpm-4.6.0.338/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 92, in call\n  File \"/home/cami/.rbenv/versions/2.4.1/lib/ru"}}
{"actor":{"display_login":"trystant"}}