Skip to content
  • 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