BigW Consortium Gitlab

model.rb 192 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
module Ci
  module Model
    def table_name_prefix
      "ci_"
    end

    def model_name
      @model_name ||= ActiveModel::Name.new(self, nil, self.name.split("::").last)
    end
  end
end