summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-12-22 11:40:56 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-12-22 11:40:56 +0200
commit8c0e571a2b9e0516f7e2f8e267896fdf8f2eb3b7 (patch)
tree1144b11f6e8170c09310b1b31fc4e4027a224534
parent3ee5fd156e3465a1e1c04b2b321c62b577496ee8 (diff)
downloadgitlab-ce-dz-fix-seed-fu.tar.gz
Explictly require Gitlab::Utils in ProjectFeaturesCompatibilitydz-fix-seed-fu
For some reason Rails does not require it automatically when invoked via rake task which cause tasks like seed_fu fail Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/models/concerns/project_features_compatibility.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/project_features_compatibility.rb b/app/models/concerns/project_features_compatibility.rb
index cb59b4da3d7..b3fec99c816 100644
--- a/app/models/concerns/project_features_compatibility.rb
+++ b/app/models/concerns/project_features_compatibility.rb
@@ -2,6 +2,7 @@
#
# After migrating issues_enabled merge_requests_enabled builds_enabled snippets_enabled and wiki_enabled
# fields to a new table "project_features", support for the old fields is still needed in the API.
+require 'gitlab/utils'
module ProjectFeaturesCompatibility
extend ActiveSupport::Concern