Commit 374442b1 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict with lib/ci/model.rb | lib/gitlab/ci/model.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9aa76f78
module Ci
module Model
def table_name_prefix
"ci_"
end
def model_name
@model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
end
end
end
......@@ -6,7 +6,7 @@ module Gitlab
end
def model_name
@model_name ||= ActiveModel::Name.new(self, nil, self.name.split("::").last)
@model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment