Soc/app/models/tag.rb

6 lines
99 B
Ruby

# frozen_string_literal: true
class Tag < ApplicationRecord
validates :name, presence: true
end