gitlab-org--gitlab-foss/app/models/members
Sean McGivern c5f9b2be82 Remove N+1 queries from users autocomplete
Both of these were related to groups:

1. We need to preload routes (using the `with_route` scope) if we're
   going to get the group's path.
2. We were counting each group's members separately.

They're in the same commit because the spec for N+1 detection wouldn't
pass with only one of these fixes.
2019-03-25 12:12:44 +00:00
..
group_member.rb Remove N+1 queries from users autocomplete 2019-03-25 12:12:44 +00:00
project_member.rb Add subresources removal to member destroy service 2019-01-31 16:52:50 +01:00