• Steve Azzopardi's avatar
    Create `get_build` for project model · f9c8822a
    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.
    f9c8822a
project.rb 65.5 KB