gitlab-org--gitlab-foss/app/controllers/dashboard
Toon Claes a723cba574 Avoid plucking Todo ids and use sub-queries instead
TodoService should not call `.select(&:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.

https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-08-03 16:31:05 +02:00
..
application_controller.rb
groups_controller.rb
labels_controller.rb
milestones_controller.rb
projects_controller.rb
snippets_controller.rb
todos_controller.rb