gitlab-org--gitlab-foss/app/models/release.rb
2018-07-26 16:55:41 -07:00

11 lines
217 B
Ruby

# frozen_string_literal: true
class Release < ActiveRecord::Base
include CacheMarkdownField
cache_markdown_field :description
belongs_to :project
validates :description, :project, :tag, presence: true
end