debian-mirror-gitlab/app/models/ci/application_record.rb
2021-10-27 15:23:28 +05:30

15 lines
292 B
Ruby

# frozen_string_literal: true
module Ci
class ApplicationRecord < ::ApplicationRecord
self.abstract_class = true
def self.table_name_prefix
'ci_'
end
def self.model_name
@model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
end
end
end