summaryrefslogtreecommitdiff
path: root/app/models/programming_language.rb
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