Skip to content

Fix deprecation: You are passing an instance of ActiveRecord::Base to find

Jasper Maes requested to merge jlemaes/gitlab-ce:deprecated-instance-find into master

What does this MR do?

Fixes : DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to `find`. Please pass the id of the object by calling `.id`. (called from perform at /builds/gitlab-org/gitlab-ee/app/workers/rebase_worker.rb:7)

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports