{"action":"opened","issue":{"url":"https://api.github.com/repos/seinsight-ac/sein-dashboard/issues/144","repository_url":"https://api.github.com/repos/seinsight-ac/sein-dashboard","labels_url":"https://api.github.com/repos/seinsight-ac/sein-dashboard/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/seinsight-ac/sein-dashboard/issues/144/comments","events_url":"https://api.github.com/repos/seinsight-ac/sein-dashboard/issues/144/events","html_url":"https://github.com/seinsight-ac/sein-dashboard/issues/144","id":365194174,"node_id":"MDU6SXNzdWUzNjUxOTQxNzQ=","number":144,"title":"NameError: undefined local variable or method `sort' for #<DashboardsController:0x0055a8bda98600>","user":{"login":"rollbar[bot]","id":28558270,"node_id":"MDM6Qm90Mjg1NTgyNzA=","avatar_url":"https://avatars1.githubusercontent.com/in/2316?v=4","gravatar_id":"","url":"https://api.github.com/users/rollbar%5Bbot%5D","html_url":"https://github.com/apps/rollbar","followers_url":"https://api.github.com/users/rollbar%5Bbot%5D/followers","following_url":"https://api.github.com/users/rollbar%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/rollbar%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/rollbar%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollbar%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/rollbar%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/rollbar%5Bbot%5D/repos","events_url":"https://api.github.com/users/rollbar%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/rollbar%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-30T05:36:45Z","updated_at":"2018-09-30T05:36:45Z","closed_at":null,"author_association":"NONE","body":"View details in Rollbar: [https://rollbar.com/seinsight-ac/sein/items/14/](https://rollbar.com/seinsight-ac/sein/items/14/)\n\n```\n\nNameError: undefined local variable or method `sort' for #<DashboardsController:0x0055a8bda98600>\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 240, in block (2 levels) in facebook\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 239, in each\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 239, in sort_by\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 239, in sort_by!\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 239, in block in facebook\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 218, in each\n  File \"/home/student/Documents/rails_project/sein-dashboard/app/controllers/dashboards_controller.rb\", line 218, in facebook\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb\", line 4, in send_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb\", line 186, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb\", line 30, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb\", line 20, in block in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb\", line 131, in run_callbacks\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb\", line 19, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rescue.rb\", line 20, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb\", line 32, in block in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb\", line 166, in block in instrument\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb\", line 21, in instrument\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb\", line 166, in instrument\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb\", line 30, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/params_wrapper.rb\", line 252, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.6/lib/active_record/railties/controller_runtime.rb\", line 22, in process_action\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb\", line 124, in process\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionview-5.1.6/lib/action_view/rendering.rb\", line 30, in process\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal.rb\", line 189, in dispatch\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal.rb\", line 253, in dispatch\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb\", line 49, in dispatch\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb\", line 31, in serve\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb\", line 50, in block in serve\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb\", line 33, in each\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb\", line 33, in serve\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb\", line 844, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb\", line 36, in block in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb\", line 35, in catch\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb\", line 35, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb\", line 25, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb\", line 25, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-2.0.5/lib/rack/head.rb\", line 12, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb\", line 232, in context\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb\", line 226, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/cookies.rb\", line 613, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.6/lib/active_record/migration.rb\", line 556, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb\", line 26, in block in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb\", line 97, in run_callbacks\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb\", line 24, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb\", line 12, in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rollbar-2.18.0/lib/rollbar/middleware/rails/rollbar.rb\", line 24, in block in call\n  File \"/home/student/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rollbar-2.18.0/lib/rollbar.rb\", line 146, in scoped\n  File \"/home/student/.rbenv/versions/"}}
{"actor":{"display_login":"rollbar"}}