Read about our upcoming Code of Conduct on this issue

  • Steve Azzopardi's avatar
    Create `get_build` for project model · 4f7020aeb1af
    Steve Azzopardi authored
    Inside of `Projects::ArtifactsController` and
    `Projects::BuildArtifactsController` we fetching the build by id using
    active record directly which violates `CodeReuse/ActiveRecord` rubocop
    rule. Create `get_build` inside of `project` model which does the same
    thing.
    4f7020aeb1af
build_artifacts_controller.rb 1.36 KB