gitlab-org--gitlab-foss/app/models/ci
Sean McGivern 4ef3e3491e Add cop for has_many :through without disabled autoloading
Goldiloader is great, but has several issues with has_many :through relations:

* https://github.com/salsify/goldiloader/issues/12
* https://github.com/salsify/goldiloader/issues/14
* https://github.com/salsify/goldiloader/issues/18

Rather than try to figure out which applies in each case, we should just do the
drudge work of manually disabling autoloading for all relations of this type. We
can always use regular preloading for specific cases, but this way we avoid
generating invalid queries through Goldiloader's magic.
2018-04-09 12:47:04 +01:00
..
artifact_blob.rb Add port number to artifacts links to gitlab-pages, if needed 2018-03-29 14:47:51 +02:00
build.rb Create metadata object on build object creation 2018-04-04 16:11:17 +02:00
build_metadata.rb Add explicit primary key for ci_builds_metadata table 2018-03-28 14:00:04 +02:00
build_trace_section.rb
build_trace_section_name.rb
group.rb
group_variable.rb
job_artifact.rb Add `direct_upload` setting for artifacts 2018-04-05 15:01:14 +02:00
legacy_stage.rb
pipeline.rb
pipeline_schedule.rb
pipeline_schedule_variable.rb
pipeline_variable.rb
runner.rb Add cop for has_many :through without disabled autoloading 2018-04-09 12:47:04 +01:00
runner_project.rb
stage.rb
trigger.rb
trigger_request.rb
variable.rb