Welcome to mirror list, hosted at ThFree Co, Russian Federation.

release.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cba80ad30caaba9aecf4c0830f2d9d29f10e912a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Release < ActiveRecord::Base
  include CacheMarkdownField

  cache_markdown_field :description

  belongs_to :project

  validates :description, :project, :tag, presence: true
end