Remove `project_id` delegation from the `Ci::Pipeline` model
Delegating the `project_id` to `project` relation of the `Ci::Pipeline` requires ActiveRecord to load the object from the database. Since we already have the `project_id` foreign key on `Ci::Pipeline` we can just use the value stored in that column.
Showing
Please register or sign in to comment