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

programming_language.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e667dac21e16d47353d26ec821e835c99524bbc (plain)
1
2
3
4
5
6
# frozen_string_literal: true

class ProgrammingLanguage < ActiveRecord::Base
  validates :name, presence: true
  validates :color, allow_blank: false, color: true
end