{"action":"closed","issue":{"url":"https://api.github.com/repos/agilasverige/agilasverige_site/issues/42","repository_url":"https://api.github.com/repos/agilasverige/agilasverige_site","labels_url":"https://api.github.com/repos/agilasverige/agilasverige_site/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/agilasverige/agilasverige_site/issues/42/comments","events_url":"https://api.github.com/repos/agilasverige/agilasverige_site/issues/42/events","html_url":"https://github.com/agilasverige/agilasverige_site/issues/42","id":129218915,"number":42,"title":"TypeError: can't iterate from NilClass","user":{"login":"mahnve","id":777,"avatar_url":"https://avatars.githubusercontent.com/u/777?v=3","gravatar_id":"","url":"https://api.github.com/users/mahnve","html_url":"https://github.com/mahnve","followers_url":"https://api.github.com/users/mahnve/followers","following_url":"https://api.github.com/users/mahnve/following{/other_user}","gists_url":"https://api.github.com/users/mahnve/gists{/gist_id}","starred_url":"https://api.github.com/users/mahnve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahnve/subscriptions","organizations_url":"https://api.github.com/users/mahnve/orgs","repos_url":"https://api.github.com/users/mahnve/repos","events_url":"https://api.github.com/users/mahnve/events{/privacy}","received_events_url":"https://api.github.com/users/mahnve/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T17:47:41Z","updated_at":"2016-02-17T15:15:49Z","closed_at":"2016-02-17T15:15:49Z","body":"View details in Rollbar: [https://rollbar.com/agilasverige/agilasverige_site/items/316/](https://rollbar.com/agilasverige/agilasverige_site/items/316/)\n\n```\n\nTypeError: can't iterate from NilClass\n  File \"/home/agilasverige/apps/agilasverige/releases/20160127174508/app/models/user.rb\", line 31, in each\n  File \"/home/agilasverige/apps/agilasverige/releases/20160127174508/app/models/user.rb\", line 31, in created_by_date\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activerecord-3.0.20/lib/active_record/associations/association_collection.rb\", line 444, in block in method_missing\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activerecord-3.0.20/lib/active_record/base.rb\", line 1131, in with_scope\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activerecord-3.0.20/lib/active_record/associations/association_proxy.rb\", line 212, in with_scope\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activerecord-3.0.20/lib/active_record/associations/association_collection.rb\", line 440, in method_missing\n  File \"/home/agilasverige/apps/agilasverige/releases/20160127174508/app/controllers/dashboard_controller.rb\", line 15, in show\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/implicit_render.rb\", line 4, in send_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/abstract_controller/base.rb\", line 150, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/rendering.rb\", line 11, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/abstract_controller/callbacks.rb\", line 18, in block in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/callbacks.rb\", line 441, in _run__2252558638154228010__process_action__3993606917121464216__callbacks\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/callbacks.rb\", line 410, in _run_process_action_callbacks\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/callbacks.rb\", line 94, in run_callbacks\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/abstract_controller/callbacks.rb\", line 17, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/rescue.rb\", line 17, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/instrumentation.rb\", line 30, in block in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/notifications.rb\", line 52, in block in instrument\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/notifications/instrumenter.rb\", line 21, in instrument\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.20/lib/active_support/notifications.rb\", line 52, in instrument\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/instrumentation.rb\", line 29, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/agent/instrumentation/rails3/action_controller.rb\", line 38, in block in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/agent/instrumentation/controller_instrumentation.rb\", line 335, in perform_action_with_newrelic_trace\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/agent/instrumentation/rails3/action_controller.rb\", line 37, in process_action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/abstract_controller/base.rb\", line 119, in process\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/abstract_controller/rendering.rb\", line 41, in process\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal.rb\", line 138, in dispatch\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal/rack_delegation.rb\", line 14, in dispatch\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_controller/metal.rb\", line 178, in block in action\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_dispatch/routing/route_set.rb\", line 68, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_dispatch/routing/route_set.rb\", line 68, in dispatch\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_dispatch/routing/route_set.rb\", line 33, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb\", line 148, in block in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb\", line 93, in block in recognize\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb\", line 68, in optimized_each\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb\", line 92, in recognize\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb\", line 139, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.20/lib/action_dispatch/routing/route_set.rb\", line 499, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/rack/error_collector.rb\", line 55, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/rack/agent_hooks.rb\", line 32, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.7.3.204/lib/new_relic/rack/browser_monitoring.rb\", line 27, in call\n  File \"/home/agilasverige/apps/agilasverige/shared/bundle/ruby/1.9.1/gems/haml-3.1.1/vendor/sass/lib/sass/plugin/rack.rb\", line 54, in call\n  File \"/home/agilasverige/apps/agilasverige/shar"}}