debian-mirror-gitlab/app/models/programming_language.rb
2018-11-20 20:47:30 +05:30

6 lines
168 B
Ruby

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