Use Project#source_of_merge_requests-relation
Using the relation `Project#source_of_merge_requests` in
`Ci::CreatePipelineService`
That way we take advantage of all the `ActiveRecord::Relation` magic
Showing
Please
register
or
sign in
to comment