-
- Downloads
Don't pluck project IDs for events
By instead using a sub-query we save ourselves the overhead of loading any data into memory only to pass it on to another query.
Showing
- app/controllers/dashboard/projects_controller.rb 1 addition, 1 deletionapp/controllers/dashboard/projects_controller.rb
- app/controllers/dashboard_controller.rb 3 additions, 3 deletionsapp/controllers/dashboard_controller.rb
- app/controllers/groups_controller.rb 1 addition, 5 deletionsapp/controllers/groups_controller.rb
- app/models/event.rb 5 additions, 1 deletionapp/models/event.rb
- app/models/project.rb 2 additions, 0 deletionsapp/models/project.rb
Please register or sign in to comment