Welcome to mirror list, hosted at ThFree Co, Russian Federation.

model.rb « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1625cb841b694deea23c816761e09b4337affc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Gitlab
  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
end