gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers Merge remote-tracking branch 'dev/master' 2019-03-20 15:57:19 -05:00
db
dependencies
factories Tweak FactoryBot definition for clusters 2019-03-20 12:04:46 +11:00
features Merge branch '57357-automate-base-domain-help-text' into 'master' 2019-03-22 07:23:02 +00:00
finders [CE] Reduce differences with EE in users_finder_spec.rb 2019-03-21 17:33:51 +01:00
fixtures Reduce diff with EE in spec/fixtures/api/schemas 2019-03-14 10:33:48 +01:00
frontend Merge branch 'winh-jest-time' into 'master' 2019-03-22 07:24:40 +00:00
graphql
helpers Move out link\unlink ability checks to a policy 2019-03-19 15:38:16 +03:00
initializers
javascripts Revert "Merge branch 'winh-remove-sushi' into 'master'" 2019-03-22 11:03:15 +00:00
lib Merge branch 'da-capitalize-db-apapter-name-on-rails-console' into 'master' 2019-03-22 03:56:01 +00:00
mailers
migrations Merge branch 'ce-reduce-diff-with-ee-in-migration-spec' into 'master' 2019-03-15 09:36:08 +00:00
models Remove N+1 queries from users autocomplete 2019-03-25 12:12:44 +00:00
policies Move out link\unlink ability checks to a policy 2019-03-19 15:38:16 +03:00
presenters Update pipeline detail view to accommodate post-merge pipelines 2019-03-19 23:19:27 +07:00
rack_servers Run rubocop -a 2019-03-13 13:42:43 +00:00
requests Add highest_role method to User 2019-03-22 09:54:03 +00:00
routing Fix spec for routes to the GraphqlController 2019-03-15 12:03:26 -05:00
rubocop
serializers Revert "Merge branch '58805-allow-incomplete-commit-data-to-be-fetched-from-collection' into 'master'" 2019-03-21 10:33:29 +00:00
services Remove N+1 queries from users autocomplete 2019-03-25 12:12:44 +00:00
sidekiq/cron
support Merge branch 'revert-79a45f7f' into 'master' 2019-03-22 12:04:03 +00:00
tasks Replaced config access 2019-03-18 17:26:18 +00:00
uploaders
validators Fix Bitbucket import 2019-03-14 10:05:17 +00:00
views Add feature specs for settings page 2019-03-14 23:50:21 +00:00
workers Add feature flag for build preparing state 2019-03-20 12:04:46 +11:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb