Skip to content

An `in_namespace` scope is already present

Matthias Käppler requested to merge github/fork/zenati/patch-2 into master

Created by: zenati

An in_namespace scope is already present and never used. See: https://github.com/gitlabhq/gitlabhq/blob/master/app/models/project.rb#L161

Instead of always using where(namespace_id: VALUE), using the scope in_namespace would be appropriate.

Merge request reports

Loading