Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4
class ProgrammingLanguage < ActiveRecord::Base validates :name, presence: true validates :color, allow_blank: false, color: true end