-
- Downloads
Refactor GroupProjectsFinder#init_collection
This optimises how GroupProjectsFinder builds it collection, producing simpler and faster queries in the process. It also cleans up the code a bit to make it easier to understand.
Showing
- app/finders/events_finder.rb 2 additions, 1 deletionapp/finders/events_finder.rb
- app/finders/group_projects_finder.rb 54 additions, 20 deletionsapp/finders/group_projects_finder.rb
- app/finders/projects_finder.rb 1 addition, 17 deletionsapp/finders/projects_finder.rb
- app/models/project.rb 17 additions, 0 deletionsapp/models/project.rb
- spec/models/project_spec.rb 32 additions, 0 deletionsspec/models/project_spec.rb
Please register or sign in to comment