{"action":"created","issue":{"url":"https://api.github.com/repos/errbit/errbit/issues/1007","labels_url":"https://api.github.com/repos/errbit/errbit/issues/1007/labels{/name}","comments_url":"https://api.github.com/repos/errbit/errbit/issues/1007/comments","events_url":"https://api.github.com/repos/errbit/errbit/issues/1007/events","html_url":"https://github.com/errbit/errbit/issues/1007","id":122155523,"number":1007,"title":"NoMethodError: undefined method `user_attributes' for #<NoticeDecorator:0x007f2069598f40 @object=nil, @context={}>","user":{"login":"bleda","id":1281644,"avatar_url":"https://avatars.githubusercontent.com/u/1281644?v=3","gravatar_id":"","url":"https://api.github.com/users/bleda","html_url":"https://github.com/bleda","followers_url":"https://api.github.com/users/bleda/followers","following_url":"https://api.github.com/users/bleda/following{/other_user}","gists_url":"https://api.github.com/users/bleda/gists{/gist_id}","starred_url":"https://api.github.com/users/bleda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleda/subscriptions","organizations_url":"https://api.github.com/users/bleda/orgs","repos_url":"https://api.github.com/users/bleda/repos","events_url":"https://api.github.com/users/bleda/events{/privacy}","received_events_url":"https://api.github.com/users/bleda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-14T23:23:08Z","updated_at":"2015-12-16T22:36:14Z","closed_at":"2015-12-16T22:36:14Z","body":"I've searched for a similar reported error but couldn't find one. Sorry guys if this one is duplicate :)\r\n\r\nWe're using v0.4.0 and we got ```NoMethodError: undefined method `user_attributes' for #<NoticeDecorator:0x007f2069598f40 @object=nil, @context={}>```.\r\n\r\nHere is the full backtrace, hope it is helpful for you.\r\n```\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/draper-2.1.0/lib/draper/automatic_delegation.rb:7→ method_missing\r\n[PROJECT_ROOT]/views/problems/show.html.haml:60→ _app_views_problems_show_html_haml__1313706834057563954_69888591570280\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/template.rb:145→ block in render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:166→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/template.rb:333→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/template.rb:143→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/template_renderer.rb:54→ block (2 levels) in render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/abstract_renderer.rb:39→ block in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164→ block in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/abstract_renderer.rb:39→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/template_renderer.rb:53→ block in render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/template_renderer.rb:61→ render_with_layout\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/template_renderer.rb:52→ render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/template_renderer.rb:14→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/renderer.rb:42→ render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/renderer/renderer.rb:23→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:100→ _render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/streaming.rb:217→ _render_template\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:83→ render_to_body\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:32→ render_to_body\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/renderers.rb:37→ render_to_body\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/rendering.rb:25→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:16→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:44→ block (2 levels) in render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/core_ext/benchmark.rb:12→ block in ms\r\n[PROJECT_ROOT]/vendor/ruby-2.2.3/lib/ruby/2.2.0/benchmark.rb:303→ realtime\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/core_ext/benchmark.rb:12→ ms\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:44→ block in render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:87→ cleanup_view_runtime\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:43→ render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:10→ default_render\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:5→ send_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20→ block in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553→ block (2 levels) in compile\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88→ run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:32→ block in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164→ block in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164→ instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:30→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/params_wrapper.rb:250→ process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:137→ process\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:30→ process\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:196→ dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rack_delegation.rb:13→ dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:237→ block in action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76→ dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:45→ serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43→ block in serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30→ each\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30→ serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186→ call!\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-ssl-enforcer-0.2.8/lib/rack/ssl-enforcer.rb:52→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35→ block in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34→ catch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225→ context\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29→ block in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84→ run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:38→ call_app\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:22→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/request_store-1.1.0/lib/request_store/middleware.rb:8→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/static.rb:116→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-cors-0.4.0/lib/rack/cors.rb:80→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:518→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails[PROJECT_ROOT]lication.rb:165→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/deflater.rb:35→ call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580→ process_client\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674→ worker_loop\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529→ spawn_missing_workers\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140→ start\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/gems/unicorn-4.9.0/bin/unicorn:126→ <top (required)>\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bin/unicorn:23→ load\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bin/unicorn:23→ <main>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/errbit/errbit/issues/comments/165275537","html_url":"https://github.com/errbit/errbit/issues/1007#issuecomment-165275537","issue_url":"https://api.github.com/repos/errbit/errbit/issues/1007","id":165275537,"user":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T22:36:14Z","updated_at":"2015-12-16T22:36:14Z","body":"Thanks @bleda, I added a note to the README.md file. Hopefully it will help others get this working more easily."}}